Ensure taps aren't accidentally sent to the modal

Without stopping the propagation of the event which pops up the modal,
it was possible for the modal itself to receive the same event.