We will reuse the App class from the preceding recipe, and we will modify the Window class so that it shows a dialog to confirm closing the window:
We will reuse the App class from the preceding recipe, and we will modify the Window class so that it shows a dialog to confirm closing the window: