While the onions caramelize, make the pastry dough.
Slice butter into thin pats. Set aside.
Cut a piece of plastic wrap and place it aside.
Whisk together the flour, baking powder, and salt in a medium bowl.
Add the sliced butter to the bowl, then massage the butter into the flour, breaking up the pats with your fingers into smaller pieces. However, leave some larger pieces of butter in the mixture, as they will create tenderness later. After 3-4 minutes, you should have a crumbly dough mixture.
Add the chicken broth to the flour mixture, one tablespoon at a time. Work the broth into the flour mixture by tossing it with your fingers to make sure all ingredients are moistened.
You don’t want the dough to become entirely homogenous. You should be able to take a handful of dough crumbles into your hand, squeeze, and have the dough stay together – this means the dough is moist enough and you can stop adding broth.
Put the remaining chicken broth back in the fridge to stay cold—you may need it later when you roll out the dough.
Scoop the dough onto the plastic wrap and squeeze it together into a flat disc. Wrap the disc in the plastic wrap and refrigerate for 30-60 minutes.