private void btEditSharedTraits_Click(object sender, RoutedEventArgs e) { Window newWin = new WindowSharedTraitsEditor(_currentEntity, _currentStoryData); newWin.Owner = this; newWin.ShowDialog(); clearDataGrids(); bindData(); }