### 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 (p_node->get_scene_file_path() == p_path) {
		return true;
	}
	for (int i = 0; i < p_node->get_child_count(); i++) {
		if (_find_scene_in_use(p_node->get_child(i), p_path)) {
			return true;
		}
	}
	return false;
}
bool EditorNode::is_scene_in_use(const String &p_path) {
	Node *es = get_edited_scene();
	if (es) {
		return _find_scene_in_use(es, p_path);
	}
	return false;
}
void EditorNode::stop_child_process(OS::ProcessID p_pid) {
	if (has_child_process(p_pid)) {
		editor_run.stop_child_process(p_pid);
		if (!editor_run.get_child_process_count()) { 
			_menu_option_confirm(RUN_STOP, false);
		}
	}
}
Ref<Script> EditorNode::get_object_custom_type_base(const Object *p_object) const {