Correctly close #PanelUI-button
Note: built-in closeMenus() doesn't work with XUL panels
(#7)