add some extra bindings to handle hiding popovers