Bug 220767 [Dialogs] PopupDialog's HOVER_SHELLSTYLE should use SWT.TOOL
3.3.x and 3.4 M5. The SWT.TOOL flag should be used to create hover style shells, hence the PopupDialog's HOVER_SHELLSTYLE should use SWT.TOOL.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/PopupDialog.java
listenToDeactivate = true;
				}
			}
		});
		
		
		shell.addListener(SWT.Activate, new Listener() {
			public void handleEvent(Event event) {
				
				if (event.widget == getShell()
						&& getShell().getShells().length == 0) {
					listenToDeactivate = true;
					
					
					
					
					listenToParentDeactivate = !"carbon".equals(SWT.getPlatform()); 
				}
			}
		});
		if ((getShellStyle() & SWT.ON_TOP) != 0 && shell.getParent() != null) {
			parentDeactivateListener = new Listener() {
				public void handleEvent(Event event) {
					if (listenToParentDeactivate) {
						asyncClose();
					} else {
						
						listenToParentDeactivate = listenToDeactivate;
					}
				}