private void Find() { if (_findViewModel != null) { return; } _findViewModel = new FindViewModel(_dialogService, FindNext); _findViewModel.PropertyChanged += (sender, args) => _observedWords.ResetSearch(); _dialogService.ShowModelessDialog(this, _findViewModel, () => _findViewModel = null); }