Added alert dialog.