maybe fixing 'popup doesn't close when navigating'