### Godot version

v4.0.beta.custom_build [705273140]

### System information

windows 10

### Issue description

When double-clicking a gltf file in the project, the Importer panel will open, but it will also extract the embedded textures.
This never happened in the previous version I was using (I'm not sure which beta I was using last- maybe 13 or 14).



### Steps to reproduce

open the project, and double-click the gltf file to open the importer, see that it creates an image file when it should stay embedded.


### Minimal reproduction project

[gltf import bug.zip](https://github.com/godotengine/godot/files/10522127/gltf.import.bug.zip)

array_mesh_3d_mesh->surface_get_name(surface_i),
						array_mesh_3d_mesh->surface_get_format(surface_i));
			}
			mesh->set_blend_shape_mode(array_mesh_3d_mesh->get_blend_shape_mode());
			importer_mesh_3d->set_mesh(mesh);
			mesh_3d->replace_by(importer_mesh_3d);
			continue;
		}
		Ref<Mesh> mesh_3d_mesh = mesh_3d->get_mesh();
		if (mesh_3d_mesh.is_valid()) {
			
			mesh->set_name(mesh_3d_mesh->get_name());
			for (int32_t surface_i = 0; surface_i < mesh_3d_mesh->get_surface_count(); surface_i++) {
				mesh->add_surface(mesh_3d_mesh->surface_get_primitive_type(surface_i),
						mesh_3d_mesh->surface_get_arrays(surface_i),
						Array(),
						mesh_3d_mesh->surface_get_lods(surface_i),
						mesh_3d_mesh->surface_get_material(surface_i),
						mesh_3d_mesh->surface_get_material(surface_i).is_valid() ? mesh_3d_mesh->surface_get_material(surface_i)->get_name() : String(),
						mesh_3d_mesh->surface_get_format(surface_i));
			}
			importer_mesh_3d->set_mesh(mesh);
			mesh_3d->replace_by(importer_mesh_3d);
			continue;
		}
	}
	ERR_FAIL_COND_V(!scene, nullptr);
	return scene;
}