Use return value from dispatchEvent

event.defaultPrevented is janky in IE