Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Open the Project Settings window (Edit > Project Settings)
- Open the Unity Version Control Settings tab in the Project Settings window
- Click the "Enable"/"Disable" buttons a few times
- Observe the Project Settings window
Actual results: The Project Settings window disappears
Expected results: The Project Settings window is still in the foreground
Reproducible with versions: 6000.0.62f1, 6000.2.12f1, 6000.3.0b10, 6000.4.0a4, 6000.5.0a1
Tested on (OS): MacOS Tahoe 26.0.1, Windows 11