/// <summary>
        /// Called when [activated].
        /// </summary>
        /// <param name="disposables">The disposables.</param>
        protected override void OnActivated(CompositeDisposable disposables)
        {
            SaveCommand = ReactiveCommand.CreateFromTask(async() =>
            {
                var result = await modPatchCollectionService.SaveIgnoredPathsAsync(ConflictResult, CollectionName);
                return(new CommandResult <bool>(result, result ? CommandState.Success : CommandState.Failed));
            }).DisposeWith(disposables);

            CancelCommand = ReactiveCommand.Create(() =>
            {
                return(new CommandResult <bool>(false, CommandState.NotExecuted));
            }).DisposeWith(disposables);

            base.OnActivated(disposables);
        }
        /// <summary>
        /// Ignores the mods.
        /// </summary>
        protected async Task IgnoreModsAsync()
        {
            await Task.Delay(100);

            var mods = Mods.Except(SelectedMods).ToList();

            modPatchCollectionService.AddModsToIgnoreList(ConflictResult, mods);
            if (previousIgnoredPath == null)
            {
                previousIgnoredPath = string.Empty;
            }
            if (previousIgnoredPath.Equals(ConflictResult.IgnoredPaths ?? string.Empty))
            {
                syncingSelectedMods = false;
                return;
            }
            await modPatchCollectionService.SaveIgnoredPathsAsync(ConflictResult, collectionName);

            previousIgnoredPath = ConflictResult.IgnoredPaths;
            HasSavedState       = true;
            syncingSelectedMods = false;
            HasSavedState       = false;
        }