### Godot version

v4.0.beta.custom_build [fab9926a9]

### System information

Fedora 37

### Issue description

When creating a new inherited scene, saving the scene (for example with Ctrl+S) defaults to overwriting the scene being inherited, instead of prompting for a location to save to.

### Steps to reproduce

1. Create a new inherited scene
2. Press Ctrl+S

If the scene being inherited is imported (for example from a glTF), an error displays. If the inherited scene is a .tscn or .scn, it gets overridden by an inherited scene that tries to inherit itself, which is impossible and thus corrupt.

### Minimal reproduction project

N/A
stop_button->set_flat(true);
	launch_pad_hb->add_child(stop_button);
	stop_button->set_focus_mode(Control::FOCUS_NONE);
	stop_button->set_icon(gui_base->get_theme_icon(SNAME("Stop"), SNAME("EditorIcons")));
	stop_button->connect("pressed", callable_mp(this, &EditorNode::_menu_option).bind(RUN_STOP));
	stop_button->set_tooltip_text(TTR("Stop the currently running project."));
	stop_button->set_disabled(true);
	ED_SHORTCUT("editor/stop_running_project", TTR("Stop Running Project"), Key::F8);
	ED_SHORTCUT_OVERRIDE("editor/stop_running_project", "macos", KeyModifierMask::META | Key::PERIOD);
	stop_button->set_shortcut(ED_GET_SHORTCUT("editor/stop_running_project"));
	run_native = memnew(EditorRunNative);
	launch_pad_hb->add_child(run_native);
	run_native->connect("native_run", callable_mp(this, &EditorNode::_run_native));
	play_scene_button = memnew(Button);
	play_scene_button->set_flat(true);
	launch_pad_hb->add_child(play_scene_button);
	play_scene_button->set_toggle_mode(true);
	play_scene_button->set_focus_mode(Control::FOCUS_NONE);
	play_scene_button->connect("pressed", callable_mp(this, &EditorNode::_menu_option).bind(RUN_PLAY_SCENE));
	play_scene_button->set_tooltip_text(TTR("Run the currently edited scene."));
	ED_SHORTCUT_AND_COMMAND("editor/run_current_scene", TTR("Run Current Scene"), Key::F6);
	ED_SHORTCUT_OVERRIDE("editor/run_current_scene", "macos", KeyModifierMask::META | Key::R);
	play_scene_button->set_shortcut(ED_GET_SHORTCUT("editor/run_current_scene"));
	play_custom_scene_button = memnew(Button);
	play_custom_scene_button->set_flat(true);
	launch_pad_hb->add_child(play_custom_scene_button);
	play_custom_scene_button->set_toggle_mode(true);
	play_custom_scene_button->set_focus_mode(Control::FOCUS_NONE);
	play_custom_scene_button->connect("pressed", callable_mp(this, &EditorNode::_menu_option).bind(RUN_PLAY_CUSTOM_SCENE));
	play_custom_scene_button->set_tooltip_text(TTR("Run a specific scene."));