hide modal popover when user clicks on empty areas in calendar