Clicking the buttons should display a prompt, alert, and confirm dialog.
Clicking the "Exit" button should display an "Are you sure you want to leave this page" message.
If you choose to leave the application should exit.
If you choose to stay the application should remain open.
If you choose to stay and then click the Exit button again you should be prompted again and if choose to leave the application should exit.