close sources popover when clicking on the overlay