Repository: godotengine/godot (language: cpp)

Issue:
Clicking on "Cancel" when asked about UIDs update does not cancel anything
### Tested versions

4.4 beta4

### System information

Godot v4.4.beta4 - Windows 11 (build 22631) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6119) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 threads)

### Issue description

When I opened my project I got this message:

![Image](https://github.com/user-attachments/assets/7b859bfb-5ab4-4bc5-b435-325faf11ba42)

As I did not do a backup, I chose "Cancel" and went to my Git client. I can see that uid files were already created.

Also, once we click on "Cancel", the message does not reappear when restarting the project.

**Suggested Solutions:**
- Make sure that "Cancel" prevents any change to the project to allow the user to make a backup
- Make sure the message is still there when the user has done their backup and are ready to click on "Restart and Upgrade"


### Steps to reproduce

Open a 4.3 project with 4.4.

### Minimal reproduction project (MRP)

Any 4.3 projects.


Discussion / hints:
Could confirm that this problem exists.

(I'll mark myself as offtopic)
This is kinda funny, like "now you will have uid files zerg rush for almost every file (= all scripts), deal with it, we polluted your git and filesystem to solve problems you may not even faced". Sad but true. Taking this into account maybe "Cancel" button should not even exist as uids are obligatory anyway.
The upgrade tool does not create or prevent creating .uid files. All it does is open and re-save all scenes, so they can update dependencies.
.uid files are created once you open the project, but you can still reverse that by closing the editor, deleting the generated files and removing `uid_cache.bin` from .godot folder. No project files are modified at that point (other than updated version in `project.godot`).

This is not a bug, but maybe we could improve the dialog message.

Fix patch:
diff --git a/editor/uid_upgrade_tool.cpp b/editor/uid_upgrade_tool.cpp
index 1d44471c09d8..3dc637f45001 100644
--- a/editor/uid_upgrade_tool.cpp
+++ b/editor/uid_upgrade_tool.cpp
@@ -98,7 +98,7 @@ UIDUpgradeTool::~UIDUpgradeTool() {
 }
 
 void UIDUpgradeDialog::popup_on_demand() {
-	const String confirmation_message = TTR("As of Godot 4.4, scenes and resources use UIDs to reference scripts and shaders.\n\nNormally, this update is applied to a single scene or resource once you save it in Godot 4.4 for the first time. If you have a lot of scenes and/or resources, doing this manually may be time-consuming. This tool will update all of the project's scenes and resources at once.\n\nClick \"Restart & Upgrade\" to restart the editor and update all of the scenes and resources in this project. Depending on the project size, it may take several minutes.\n\nNote: Please make sure you have your project backed up before running the tool, to avoid the possibility of data loss. Additionally, make sure to commit all .uid files into version control (and do not add them to ignore-lists like .gitignore).");
+	const String confirmation_message = TTR("As of Godot 4.4, scenes and resources use UIDs to reference scripts and shaders. Upgrades apply on the next save of each scene/resource.\n\nTo save time, this tool can open and save each of these files. Depending on the project size, it may take several minutes.");
 	set_text(confirmation_message);
 	get_ok_button()->set_text("Restart & Upgrade");
 	popup_centered(Size2(750 * EDSCALE, 0));
@@ -120,6 +120,7 @@ void UIDUpgradeDialog::_notification(int p_what) {
 }
 
 UIDUpgradeDialog::UIDUpgradeDialog() {
+	set_title(TTR("Re-save all scenes and resources to use UIDs"));
 	set_autowrap(true);
 	get_label()->set_custom_minimum_size(Size2(750 * EDSCALE, 0));
 	learn_more_button = add_button(TTR("Learn More"), true, UID_UPGRADE_LEARN_MORE);


Test patch: