add isOpen property to popup and style dropbuttons when popup is open