purple-notify: Place dialog over the current active window
Use the current active window instead of placing on top of the main window. The main window is not always required to be the active one. Also avoid the cast as the window may be NULL if no window is present