[PDI-12227] - Handle flow where user does not have execute perms and dis...

...connects repo.  Warn user that tabs will close and allow them to not disconnect.  Repo disconnect is now delayed based on warnings and prompts.