Steps to reproduce:
1. Create a Universal 2D project
2. Create Sprite Atlas Asset (Create > 2D > Sprite Atlas)
3. Select Sprite Atlas Asset and make a change (e.g. change Type form Master to Variant)
4. Click on another Asset in the Project window
5. Click “Discard” button in “Inspector - Unsaved Changes Detected” dialog box
Actual results: “Inspector - Unsaved Changes Detected” dialog box briefly closes and appears again
Expected results: “Inspector - Unsaved Changes Detected” dialog box closes and another Asset is selected
Reproducible with versions: 6000.3.0a4
Not reproducible with versions: 2021.3.54f1, 2022.3.65f1, 6000.0.54f1, 6000.1.14f1, 6000.2.0b12, 6000.3.0a3
Tested on (OS): Windows 11, macOS Sequoia 15.4 (M4)