### Godot version

v4.2.beta.custom_build [a574c0296]

### System information

linux

### Issue description

Folder colors don't show up in file dialogs: when saving a scene, etc.

### Steps to reproduce

1. color a folder
2. create and open the save scene dialog and navigate to the colored folder
3. notice it's not shown its color in the file dialog

### Minimal reproduction project

any
if (cres != res) {
			continue;
		}
		if (!dir_access->dir_exists(recentd[i])) {
			
			recentd.remove_at(i--);
			continue;
		}
		
		String name = recentd[i];
		if (res && name == "res://") {
			name = "/";
		} else {
			if (name.ends_with("/")) {
				name = name.substr(0, name.length() - 1);
			}
			name = name.get_file();
		}
		recentd_paths.append(recentd[i]);
		recentd_names.append(name);
	}
	EditorNode::disambiguate_filenames(recentd_paths, recentd_names);
	for (int i = 0; i < recentd_paths.size(); i++) {
		recent->add_item(recentd_names[i], theme_cache.folder);
		recent->set_item_metadata(-1, recentd_paths[i]);
		recent->set_item_icon_modulate(-1, theme_cache.folder_icon_color);
	}
	EditorSettings::get_singleton()->set_recent_dirs(recentd);
}
void EditorFileDialog::_recent_selected(int p_idx) {