Changed button behavior to show alert when clicked.