MDL-43410 JavaScript: Stop event propagation when opening the action menu

In certain situations, the click event is propagated through to the
hideIfOutside and immediately closes the menu.

This happens when blocks are dock for example.