Syncing indicator, disable when syncing

Modals now only close when syncing is finished, the account settings
page is slightly re-worked and on resume added...