avoid the \"return to original directory when filter changes\"
bug in the fileDialog.
This was caused by the monitoringCycle beeing \"superclever\"
by doing a collapse-expand instead of doing the \"real thing\".
The collapse resulted in a lost selection, which made fileDialog
return to the default (current) directory.