For the filling: Put the sugar in a large bowl and grate the zest from the lemon(s) over it. Use your fingers to rub the zest into the sugar until the sugar is moist and fragrant.
Peel and core the apples and cut them into chunks about ½ inch on a side or into slices that are about ¼ inch thick. Add the apples to the bowl with the sugar and squeeze over the juice from the lemon(s). Toss everything around in the bowl until the apples are coated with sugar and juice. Set the bowl aside, stirring now and then, while you preheat the oven.
Center a rack in the oven and preheat it to 425 degrees. Butter a 9-inch pie pan and put it on a baking sheet lined with parchment paper or a baking mat.
Give the apples a last turn and then pile them into the pie pan—don’t forget the juices in the bowl. Dot the top of the apples with the butter.
For the All-Butter Pie Dough: Put the flour, sugar and salt in a food processor and pulse to blend. Scatter the pieces of butter over the flour and pulse until the butter is well incorporated. Add the ice water a little at a time, processing after each addition. Stop when you have moist clumps and curds. Turn the dough out, divide it in half and shape each half into a disk.
Roll the dough into a round that’s between 11 and 12 inches in diameter. Fit it into a buttered pie pan, leaving whatever dough hangs over the edge. Keep the second round between the sheets of paper and slide it onto a baking sheet. Freeze or refrigerate for at least 1 hour.
To assemble the Pandowdy: Cut the chilled round of pie dough into pieces. Place the pieces of dough over the apples in whatever pattern pleases you. Lightly brush the dough with milk and sprinkle with sanding sugar.
Bake the pandowdy for 20 minutes, then turn the heat down to 375 degrees F and continue to bake until you can see juices bubbling all the way to the middle of the pan, 25 to 35 minutes more.
Let the pandowdy cool for at least 30 minutes before serving. Serve warm or at room temperature with ice cream or whipped cream.
