### Godot version

4.1.dev (dc625bcbfc5b587ba8867481ee7a1f6a567c25d0)

### System information

Mageia 9, Linux

### Issue description

When importing a project in current `master`, the following error is raised for each asset that gets imported:
```
Attempting to parent and popup a dialog that already has a parent.
```

It seems to be raised once per asset, caused by the progress dialog.

CC @bruvzg

### Steps to reproduce

- Import a new project in Godot that contains importable assets, e.g. https://github.com/RPicster/godot4-demo-desert-light

### Minimal reproduction project

See above.
case RenderingDevice::DeviceType::DEVICE_TYPE_MAX:
			break; 
	}
	const Vector<String> video_adapter_driver_info = OS::get_singleton()->get_video_adapter_driver_info();
	const String processor_name = OS::get_singleton()->get_processor_name();
	const int processor_count = OS::get_singleton()->get_processor_count();
	
	if (rendering_method == "forward_plus") {
		rendering_method = "Forward+";
	} else if (rendering_method == "mobile") {
		rendering_method = "Mobile";
	} else if (rendering_method == "gl_compatibility") {
		rendering_method = "Compatibility";
	}
	
	Vector<String> info;
	const String prefix = "*";
	if (!distribution_version.is_empty()) {
		info.push_back(vformat("%s OS: %s %s", prefix, distribution_name, distribution_version));
	} else {
		info.push_back(vformat("%s OS: %s", prefix, distribution_name));
	}
	info.push_back(vformat("%s Godot Version: %s", prefix, godot_version));
	info.push_back(vformat("%s Rendering Driver: %s", prefix, driver_name));
	info.push_back(vformat("%s Rendering Method: %s", prefix, rendering_method));
	if (device_type_string.is_empty()) {
		info.push_back(vformat("%s Graphics Card: %s", prefix, rendering_device_name));
	} else {
		info.push_back(vformat("%s Graphics Card: %s (%s)", prefix, rendering_device_name, device_type_string));
	}