Properly close Add popover on click