click handlers to buttons to record events.  clicks handled properly