Dismiss popovers when clicking outside