### Godot version

master

### System information

Godot v4.2.beta (0ea75d77c) - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2070 (NVIDIA; 31.0.15.3598) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 Threads)

### Issue description

When any of the Import, Filesystem, Node, or History docks are floating, changing an editor feature crashes the engine.
Changing any setting or selecting a different profile triggers it.

This is because `EditorNode::_feature_profile_changed` assumes the docks are in a `TabContainer`, and if they are floating they aren't in one.


### Steps to reproduce

Make any of these docks floating: Import, Filesystem, Node, or History
Open Editor Features (Editor -> Manage Editor Features...)
Make a profile (if you have none) or change a setting on the existing profile

### Minimal reproduction project

n/a
current_renderer = current_renderer.to_lower();
	for (int i = 0; i < renderers.size(); i++) {
		String rendering_method = renderers[i];
		
		if (rendering_method == "forward_plus") {
			renderer->add_item(TTR("Forward+"));
		}
		if (rendering_method == "mobile") {
			renderer->add_item(TTR("Mobile"));
		}
		if (rendering_method == "gl_compatibility") {
			renderer->add_item(TTR("Compatibility"));
		}
		renderer->set_item_metadata(i, rendering_method);
		
		rendering_method = rendering_method.to_lower();
		if (current_renderer == rendering_method) {
			renderer->select(i);
			renderer_current = i;
		}
	}
	_update_renderer_color();
	video_restart_dialog = memnew(ConfirmationDialog);
	video_restart_dialog->set_text(TTR("Changing the renderer requires restarting the editor."));
	video_restart_dialog->set_ok_button_text(TTR("Save & Restart"));
	video_restart_dialog->connect("confirmed", callable_mp(this, &EditorNode::_menu_option).bind(SET_RENDERER_NAME_SAVE_AND_RESTART));
	gui_base->add_child(video_restart_dialog);
	progress_hb = memnew(BackgroundProgress);