Dismiss calendar popover when user clicks elsewhere