private static void _photoSelectComplete() { DlgPhotoManager dlg = new DlgPhotoManager(4); //dlg.TopMost = true; dlg.Show(); // ShowDialog doesn't work here, the dialog appears and closes right away dlg.BringToFront(); }