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

Ref<AnimationLibrary> al = ap->get_animation_library(ap->find_animation_library(anim));
	for (int i = 0; i < p_slices.size(); i += 7) {
		String name = p_slices[i];
		float from = p_slices[i + 1];
		float to = p_slices[i + 2];
		Animation::LoopMode loop_mode = static_cast<Animation::LoopMode>((int)p_slices[i + 3]);
		bool save_to_file = p_slices[i + 4];
		String save_to_path = p_slices[i + 5];
		bool keep_current = p_slices[i + 6];
		if (from >= to) {
			continue;
		}
		Ref<Animation> new_anim = memnew(Animation);
		for (int j = 0; j < anim->get_track_count(); j++) {
			List<float> keys;
			int kc = anim->track_get_key_count(j);
			int dtrack = -1;
			for (int k = 0; k < kc; k++) {
				float kt = anim->track_get_key_time(j, k);