Open an alert dialog.
Open a confirm dialog.
Open a prompt dialog.
Add an onbeforeunload handler.
Make text appear.