Wash the spinach, place on a paper towel, then chop. If the leaves are small, then there is no need to cut them. Frozen spinach must be completely defrosted and allowed to drain. Wash and cut the onion. Sauté the onions in vegetable oil, adding water. Chop the dill. Thaw the dough in advance. Leeks can be replaced with regular green onions.
Add milk to the eggs, salt, pepper and whisk. In a separate bowl, combine spinach, two types of onions and dill. Add pickled cheese, grated, and feta cheese, which you just need to crumble. Pour the egg mixture over everything, leaving a little for brushing the pie, and stir.
Divide the dough into two parts. Roll out the first part of the dough and place on a greased baking sheet. Add spinach and cheese filling. Roll out the second layer of dough and cover the filling with it. Pinch the edges of the pie, as if tucking it towards the bottom.
Run a knife along the top layer of dough, as if cutting into squares. Brush the pie with the remaining egg mixture and bake at 180 ℃ for 30 minutes, until golden brown.
Cool the spinach pie a little and serve, cut into pre-designated squares.