the dialogs for selecting files are almost finished