### Godot version

v4.0.beta.mono.custom_build [d1e5903c6]

### System information

Arch Linux, Vulkan

### Issue description

While using the new "Export as dedicated server" Export Mode introduced in #70377, ticking a folder does not tick all children like the other modes.

When a project has hundreds or thousands of resources it would be tedious to have to click them all individually.

Below looks to be the cause, it looks to be handled differently as the file mode (e.g Strip Visuals) would need to be setup for each of the children as well.

https://github.com/godotengine/godot/blob/d1e5903c67956707948b1de370b807e3aad395b7/editor/export/project_export.cpp#L842-L854

Ideally, if a folder's file mode is changed then that would propagate to any ticked children as well.

### Steps to reproduce

1. Open Project>Export
2. Add or click on an existing preset
3. In the Resources tab select "Export as dedicated server" as the Export Mode
4. Tick a folder, observe no children are affected.
5. Try the other selective export modes, ticking folders also ticks all child files & folders

### Minimal reproduction project

N/A
void _export_project();
	void _export_project_to_path(const String &p_path);
	void _export_all_dialog();
	void _export_all_dialog_action(const String &p_str);
	void _export_all(bool p_debug);
	void _update_feature_list();
	void _custom_features_changed(const String &p_text);
	bool updating_script_key = false;
	bool updating_enc_filters = false;
	void _enc_pck_changed(bool p_pressed);
	void _enc_directory_changed(bool p_pressed);
	void _enc_filters_changed(const String &p_text);
	void _script_encryption_key_changed(const String &p_key);
	bool _validate_script_encryption_key(const String &p_key);
	void _open_key_help_link();
	void _tab_changed(int);
protected:
	void _theme_changed();
	void _notification(int p_what);
	static void _bind_methods();
public:
	void popup_export();
	void set_export_path(const String &p_value);
	String get_export_path();
	Ref<EditorExportPreset> get_current_preset() const;
	ProjectExportDialog();
	~ProjectExportDialog();
};
#endif