Two different windows are a problem ... so add a third!
Adding a third method to create windows is probably the single worst solution to the problem they could have come up with.
The correct solution would have been to have one API call the other, so it always boils down to the same code path.