prevent default when links inside an event are clicked. Then pass the event to an trigger