private void btnAddTeams_Click(object sender, RoutedEventArgs e) { NewTeamWindow nt = new NewTeamWindow(); nt.Owner = this; nt.ShowDialog(); }