### Godot version

3.5.2.stable, 4.0.1.stable

### System information

Arch Linux

### Issue description

When the `Show Hidden Files` property is enabled in the Editor Settings:
![image](https://user-images.githubusercontent.com/6501975/226908540-8e70e520-3dcd-46e4-beaf-103ac176c1de.png)
Any `FileDialog` nodes from the project will inherit this setting, and their `Show Hidden Files` property is set to true everytime the scene is re-opened:

https://user-images.githubusercontent.com/6501975/226909135-a8fafdf7-ca36-40aa-b69a-a7baf2d7ae4f.mp4


This occurs on 3.5.2 as well.

### Steps to reproduce

- Enable `Show Hidden Files` property in the Editor Settings:
    - Reload Godot for the bug to occur
- Create a FileDialog node, and set it's `Show Hidden Files` property to false
- Save and close the scene, and reopen it
- The `Show Hidden Files` property is reset to true.

### Minimal reproduction project

N/A
scene_tabs_context_menu->add_shortcut(ED_GET_SHORTCUT("editor/reopen_closed_scene"), FILE_OPEN_PREV);
				scene_tabs_context_menu->set_item_text(scene_tabs_context_menu->get_item_index(FILE_OPEN_PREV), TTR("Undo Close Tab"));
				if (previous_scenes.is_empty()) {
					scene_tabs_context_menu->set_item_disabled(scene_tabs_context_menu->get_item_index(FILE_OPEN_PREV), true);
				}
				scene_tabs_context_menu->add_item(TTR("Close Other Tabs"), FILE_CLOSE_OTHERS);
				scene_tabs_context_menu->add_item(TTR("Close Tabs to the Right"), FILE_CLOSE_RIGHT);
				scene_tabs_context_menu->add_item(TTR("Close All Tabs"), FILE_CLOSE_ALL);
			}
			scene_tabs_context_menu->set_position(scene_tabs->get_screen_position() + mb->get_position());
			scene_tabs_context_menu->reset_size();
			scene_tabs_context_menu->popup();
		}
	}
}
void EditorNode::_reposition_active_tab(int idx_to) {
	editor_data.move_edited_scene_to_index(idx_to);
	_update_scene_tabs();
}
void EditorNode::_thumbnail_done(const String &p_path, const Ref<Texture2D> &p_preview, const Ref<Texture2D> &p_small_preview, const Variant &p_udata) {
	int p_tab = p_udata.operator signed int();
	if (p_preview.is_valid()) {
		Rect2 rect = scene_tabs->get_tab_rect(p_tab);
		rect.position += scene_tabs->get_global_position();
		tab_preview->set_texture(p_preview);
		tab_preview_panel->set_position(rect.position + Vector2(0, rect.size.height));
		tab_preview_panel->show();
	}
}
void EditorNode::_scene_tab_changed(int p_tab) {