Temporarily set a url hash while popup is showing