I don’t think I’ve ever encountered a program that opens a new window when other windows are already open on some other desktop/monitor. The behavior I always see is switching to the desktop with the window, with multiple dock icon clicks cycling through each desktop that program has windows on.