The file dialog should not come up in DRT and WTR similar to alert.
That would make it possible to test for the fix in bug 58208, and to test for file choosing behavior in general.