Bug 86456 [Dialogs] Dialogs open on wrong monitor
bundles/org.eclipse.jface/src/org/eclipse/jface/window/Window.java
+ monitorBounds.height - initialSize.y)));
	}
	/**
	 * Returns the initial size to use for the shell. The default implementation
	 * returns the preferred size of the shell, using
	 * <code>Shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true)</code>.
	 * 
	 * @return the initial size of the shell
	 */
	protected Point getInitialSize() {
		return shell.computeSize(SWT.DEFAULT, SWT.DEFAULT, true);
	}
	/**
	 * Returns parent shell, under which this window's shell is created.
	 * 
	 * @return the parent shell, or <code>null</code> if there is no parent
	 *         shell
	 */
	protected Shell getParentShell() {
        Shell parent = parentShell.getShell();
        
        int modal = SWT.APPLICATION_MODAL | SWT.SYSTEM_MODAL | SWT.PRIMARY_MODAL;
        
        
        if (parent == null && (getShellStyle() & modal) != 0 ) {
            parent = defaultModalParent.getShell();
        }
        
        return parent;
	}