Added preventDefault and onDefault event handlers.