We should show the current best practice for this kind of dialog, and use a headerbar with a window close button.
This new step sets the headerbar as titlebar, and enables fallback for the app menu.