added the alert when you click the button