I try to use the FolderBrowserDialog from WPF like this:
public static bool BrowseFolder(out string folderName)
{
using (System.Windows.Forms.FolderBrowserDia
This is just a bit of interop nastiness. The WPF code tries to set the focus back to the main window when the dialog is closing. Problem is, the dialog has disabled the window so it can't receive the focus yet. WPF is too eager to change the focus and doesn't otherwise know anything about the dialog behavior. Nothing actually goes wrong.