///// <summary> ///// Shows modal window to manage languages. ///// </summary> private void LanguagesManage_click(object sender, RoutedEventArgs e) { LangWindow dialog = new LangWindow(); dialog.DataContext = base.DataContext; // Ensure the alt+tab is working properly. dialog.Owner = this; dialog.ShowDialog(); }