How to reproduce:
1. Open the attached “IN-110347” project
2. In the UI Toolkit Debugger window, from the top left dropdown, select "ProfilerWindow"
3. Select "Show Layout"
4. Undock the Profiler
5. Observe the result
Expected result: The UI Toolkit Debugger shows the layout in the Profiler window, or updates the window selection dropdown to reflect the currently inspected window
Actual result: The UI Toolkit Debugger shows the layout of another window where the Profiler was previously docked
Reproducible with: 2023.1.0a1, 6000.0.55f1, 6000.2.0f1, 6000.3.0a4
Reproducible on: Windows 11
Not reproducible on: No other environments tested