### 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)

String path = p_animation->track_get_path(p_track_i);
	for (int32_t key_i = 0; key_i < key_count; key_i++) {
		times.write[key_i] = p_animation->track_get_key_time(p_track_i, key_i);
	}
	if (track_type == Animation::TYPE_SCALE_3D) {
		p_track.scale_track.times = times;
		p_track.scale_track.interpolation = gltf_interpolation;
		p_track.scale_track.values.resize(key_count);
		for (int32_t key_i = 0; key_i < key_count; key_i++) {
			Vector3 scale;
			Error err = p_animation->scale_track_get_key(p_track_i, key_i, &scale);
			ERR_CONTINUE(err != OK);
			p_track.scale_track.values.write[key_i] = scale;
		}
	} else if (track_type == Animation::TYPE_POSITION_3D) {
		p_track.position_track.times = times;
		p_track.position_track.values.resize(key_count);
		p_track.position_track.interpolation = gltf_interpolation;
		for (int32_t key_i = 0; key_i < key_count; key_i++) {
			Vector3 position;
			Error err = p_animation->position_track_get_key(p_track_i, key_i, &position);
			ERR_CONTINUE(err != OK);
			p_track.position_track.values.write[key_i] = position;
		}
	} else if (track_type == Animation::TYPE_ROTATION_3D) {
		p_track.rotation_track.times = times;
		p_track.rotation_track.interpolation = gltf_interpolation;
		p_track.rotation_track.values.resize(key_count);
		for (int32_t key_i = 0; key_i < key_count; key_i++) {
			Quaternion rotation;