private void AddSupplemental_Click(object sender, RoutedEventArgs e) { if (Starship.Hull == null) { MessageBox.Show("Need to pick a hull first!"); return; } SupplementalWindow dialog = new SupplementalWindow(Starship, loader); dialog.ShowDialog(); ClearSupplementals(); RefillSupplementals(); UpdateSupplementals(); }