Feature/gdrive permission prechecks patch

From #993 

Specifically: showing the modal multiple times shows the authorize button disabled, and auth failure from token timeout (long page view) forces reauth even if scopes don't change.