Fixing any issue where you couldn't disconnect and then reconnect.  Also made it so you can't close the modal without logging in.