### 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
}
	if (bool(EDITOR_GET("run/output/always_clear_output_on_play"))) {
		log->clear();
	}
	if (bool(EDITOR_GET("run/output/always_open_output_on_play"))) {
		make_bottom_panel_item_visible(log);
	}
	EditorDebuggerNode::get_singleton()->start();
	Error error = editor_run.run(run_filename, write_movie_file);
	if (error != OK) {
		EditorDebuggerNode::get_singleton()->stop();
		show_accept(TTR("Could not start subprocess(es)!"), TTR("OK"));
		return;
	}
	emit_signal(SNAME("play_pressed"));
	if (p_current) {
		run_current_filename = run_filename;
		play_scene_button->set_pressed(true);
		play_scene_button->set_icon(gui_base->get_theme_icon(SNAME("Reload"), SNAME("EditorIcons")));
		play_scene_button->set_tooltip_text(TTR("Reload the played scene."));
	} else if (!p_custom.is_empty()) {
		run_custom_filename = p_custom;
		play_custom_scene_button->set_pressed(true);
		play_custom_scene_button->set_icon(gui_base->get_theme_icon(SNAME("Reload"), SNAME("EditorIcons")));
		play_custom_scene_button->set_tooltip_text(TTR("Reload the played scene."));
	} else {
		play_button->set_pressed(true);
		play_button->set_icon(gui_base->get_theme_icon(SNAME("Reload"), SNAME("EditorIcons")));
		play_button->set_tooltip_text(TTR("Reload the played scene."));
	}