Prevent default/stop propagation for DOM events