Popover dismisses correctly.