Revert "Workaround to correctly close panel after second click"
(reverted from commit aa76ddf75c087772db04c0abf2f2e288f2a6c141)
(#25)
Prevent "click" event on button to disable original action
(this also prevents "command" event)
(#25)