taking out an alert window