Separate page dialog into a page container and a dialog.