Image selection dialog: now with directories