Prevent default events.