dismissal of popover on off click