Do something just before the 'click' event fires.