With a fork, perforate the upper frame of the dough and use some of the egg yolks to brush it along there, so it works like a glue. Roll out the rest of the dough and cover the apples with it. Make sure both parts of the dough stick together. Now with a knife cut 5 thin stripes into the dough, so the juice can flow out. With the left over egg yolks, cover the dough.