Replace clicks on trigger with custom events.