private void AboutMenuItem_Click(object sender, RoutedEventArgs e) { var dialog = new AboutWindow() { Owner = this }; dialog.ShowDialog(); }