how can i detect which button was clicked on the mose to put in a click event?