private void ExpressionsDialog_Executed(object sender, ExecutedRoutedEventArgs e) { ExpressionsDialog dlg = new ExpressionsDialog(ref _DataSet); dlg.Owner = this; dlg.ShowDialog(); }