Moved popover code into add_popover.py