What I can suggest you is to call the Confirm method through Dispatcher, this way you will avoid the explained behavior. Please try the code snippet below:
sender, ShowDialogEventArgs e)
Hope this helps.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>