Thanks for the suggested workaround... I wasn't aware of the BringToFront() method.
The problem has been happening consistently for us whenever someone double-clicks the button that triggers the confirm popup. So it's not that rare for us. We've reproduced it on a few different machines.
I tried calling BringToFront from the Loaded event and it didn't work... but I found that if I added a small timer delay, it worked OK.
Here is the code I used:
var confirm =
confirm.Content = parameters.Content;
var window =
window.Content = confirm;
window.ResizeMode = ResizeMode.NoResize;
window.Style = parameters.WindowStyle;
window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
//window.IsActiveWindow = true;
window.Loaded += (s, ea) => BringWindowToFrontAfterDelay(window);
window.Closed += parameters.Closed;
var timer =
timer.Interval = TimeSpan.FromMilliseconds(200);
timer.Tick += (s, ea) => BringWindowToFront(window, timer);
BringWindowToFront(RadWindow window, DispatcherTimer timer)
( window.IsOpen )
Thanks for your help,