handle click event, for reals.