Changed image source selection dialog to only allow picking files, not directories.