I think you should call it `getParentWindow` or `getOwnerWindow` or something like that cause this name does not seems to make much sense.