Modified the FailedSyncDialog so that the user cannot retry the sync until they regain network connection