### 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 (scene->get_scene_file_path().is_empty()) {
			current_menu_option = FILE_SAVE_AND_RUN;
			_menu_option_confirm(FILE_SAVE_AS_SCENE, true);
			file->set_title(TTR("Save scene before running..."));
			return;
		}
		run_filename = scene->get_scene_file_path();
	} else if (!p_custom.is_empty()) {
		run_filename = p_custom;
	}
	if (run_filename.is_empty()) {
		
		if (!ensure_main_scene(false)) {
			return;
		}
		run_filename = GLOBAL_DEF_BASIC("application/run/main_scene", "");
	}
	if (bool(EDITOR_GET("run/auto_save/save_before_running"))) {
		if (unsaved_cache) {
			Node *scene = editor_data.get_edited_scene_root();
			if (scene && !scene->get_scene_file_path().is_empty()) { 
				_save_scene_with_preview(scene->get_scene_file_path());
			}
		}
		_menu_option(FILE_SAVE_ALL_SCENES);
		editor_data.save_editor_external_data();
	}
	if (!call_build()) {
		return;