able to alert on click