Empty Staffs in Part Layouts after end of piece

This is a part layout created in Finale:


You can see, that after the piece finishes, there are blank staffs filling out the page.
Is there any function to achieve this in Dorico?

Do you mean this?

Exactly, thanks