It often happens to me that I load a project twice. Then I don't know exactly which window is the current one. Why can't you do it like in the designer? there it is also recognised when a layout is currently open.