more work on the popups