Steps to reproduce:
- Create a new project
- Create and open a new UI Document
- Add a VisualElement to the Hierarchy
- Press F2 to rename the element
- Press ESC to cancel the renaming action
- Observe the .uxml header
Actual results: The file is dirty
Expected results: The file is not dirty
Reproducible with versions: 2023.1.0a10, 6000.0.72f1, 6000.3.13f1, 6000.4.3f1, 6000.5.0b4, 6000.6.0a2
Tested on (OS): Windows 11 Pro (25H2)
Notes: Until 2023.1.0a18, the .uxml in the UI Builder Hierarchy never got dirty, but the file has been modified still