Adding Custom Event to fire before click event