When I run the following, PowerShell hangs waiting for the dialog to close, even though the dialog is never displayed:
[void] [Reflection.Assembly]::LoadWithPart
Apparently this has something to do with Multi-Threaded Apartment (MTA) mode. It appears to work fine in Single-Threaded Apartment (-STA) mode.
See also: Could you explain STA and MTA?