remove the alert dialog