Bug 119599 [Dialogs] Every PopupDialiog is leaked if PopupDialolg.HOVER_SHELLSTYLE or SWT.ON_TOP is set
I20051206-1200 Every PopupDialiog is leaked if PopupDialolg.HOVER_SHELLSTYLE or SWT.ON_TOP is set. Reason: a deactivate listener is added to the popup shell's parent but is never removed.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/PopupDialog.java
create();
			shell = getShell();
		}
		
		
		
		adjustBounds();
		
		constrainShellSize();
		
		setTabOrder((Composite) getContents());
		
		listenToDeactivate = false;
		listenToParentDeactivate = false;
		
		if (takeFocusOnOpen) {
			shell.open();
			getFocusControl().setFocus();
		} else {
			shell.setVisible(true);
		}
		return OK;
	}
	/**
	 * Closes this window, disposes its shell, and removes this window from its
	 * window manager (if it has one).
	 * <p>
	 * This method is extended to save the dialog bounds and initialize widget
	 * state so that the widgets can be recreated if the dialog is reopened.