private void Button_Click(object sender, RoutedEventArgs e)
        {
            var window = new SomeWindow();

            window.Owner = this;
            window.ShowDialog();
        }