created a popup page for google permissions that autocloses when done