2 separate windows in tab switcher menu when dodument window is detached from the InDesin interface

Is there any way to prevent this while still having the document window detached?
No matter which of the 2 task switcher icons I click, the full InDesign will get in focus, document + interface:

So there is no use of the 2 separate tab switcher menu items.
If the document window is "docked" into the interface, this doesn't happen.
