Added the alert dialog