This tests a bug where going back just before putting up an alert can lead to a crash.
Click this link to run the test.