Dismiss popover when selecting language