We probably want to run popup('close') for all popups