title: Placing popup window in the middle of the main window
body: <p>I'm trying to place a popup window (TitleWindow) in the middle of the main application window. how do i set the coordinates of my popup window to be of the main application window?
  i tried the localToGlobal function but with no luck, I just can't get the main window x and y.</p>
  
  <p>Thanks in advance,
  Uzi.</p>