void AddNewImpl()
        {
            var editorViewModel = new StopWordsEditorViewModel(TestWord);
            var editor          = new StopWordsEditorPage(editorViewModel);

            MainWindow.Current.ShowModal(editor).ModalClosed = ReTest;
        }
        void EditItem()
        {
            if (SelectedItem == null)
            {
                return;
            }

            var editorViewModel = new StopWordsEditorViewModel(SelectedItem, TestWord);
            var editor          = new StopWordsEditorPage(editorViewModel);

            MainWindow.Current.ShowModal(editor).ModalClosed = ReTest;
        }