Anyone know how to detect the current position of the window? I want to pop up a new window in exactly the same position.