How to reproduce:
1. Open/create any project
2. Right-click on any object in the hierarchy (f.e. Main Camera)
3. Prefab -> Replace
Expected result: Prefab replace window pops up
Actual result: Prefab replace window pops up for a split second and disappears
Reproducible with: 2023.2.0a15, 2023.2.0a17
Not reproducible with: 2021.3, 2022.2, 2023.1, 2023.2.0a14