Middle-click anywhere inside panel to close panel
(only with middleClickToRemoveFromPanel = false)
(related to #18)