private void btnEditOwner_Click(object sender, RoutedEventArgs e) { var editOwner = new EditOwner(); editOwner.ShowDialog(); }