Remove code causing premature popover dismissal