moved addParentPopover directly into view