Popover behavior adjustments.

* Fix timeout causing popover to be mistakenly dismissed.
* Fix future anchor causing empty popover to be rendered.