popoverView: track shown/hidden state, add events

announce when the popover shows and hides, and track the showing state
popoverView: only show/hide/toggle when rendering