Adding my dynamic_popover code