Stop event propagation when dismissing popover controls

This prevents page turns with the magic panels when you clock outside of
a control to dismiss it.
Merge pull request #198 from rschroll/dismiss-control

Stop event propagation when dismissing popover controls