click to generate one alert
click to generate two alerts
click to generate an alert before navigating to new page