Got the popover working as expected. Moving onto other things for now.