### 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 (path.begins_with("res:")) {
					path = path.substr(6);
				}
				path = path.get_basename();
				
				scene_name = scene_name.trim_suffix("/");
				path = path.trim_suffix("/");
				
				
				
				can_proceed = can_proceed || (path.size() - scene_name.size()) >= 1;
				E = E->next();
				if (to_erase) {
					iset.erase(to_erase);
				}
			}
			if (!can_proceed) {
				break;
			}
		}
	}
}
void EditorNode::_update_scene_tabs() {
	bool show_rb = EDITOR_GET("interface/scene_tabs/show_script_button");
	if (DisplayServer::get_singleton()->has_feature(DisplayServer::FEATURE_GLOBAL_MENU)) {
		DisplayServer::get_singleton()->global_menu_clear("_dock");
	}
	
	Vector<String> disambiguated_scene_names;
	Vector<String> full_path_names;