Bug 61216 [Dialogs] Closing the workspace dialog and escape
I20040506-0200 When you do File > Exit when the dialog is open, and you press escape, the behaviour of OK is executed (ie eclipse is being closed) whereas one would expect the behavior of CANCEL to happen.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
if ((flags & FILL_PROXY) != 0) {
			
			if ((flags & FILL_MENU_BAR) != 0) {
				actionBuilder.populateMenuBar(actionConfigurer);
			}
			if ((flags & FILL_COOL_BAR) != 0) {
				actionBuilder.populateCoolBar(actionConfigurer);
			}
		} else {
			
			
			windowConfigurer.setData(ACTION_BUILDER,actionBuilder);
			actionBuilder.makeAndPopulateActions(getWorkbenchConfigurer(), actionConfigurer);
		}
		
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.ui.application.WorkbenchAdvisor#getMainPreferencePageId
	 */
	public String getMainPreferencePageId() {
		
		return WORKBENCH_PREFERENCE_CATEGORY_ID;
	}
    /**
     * Tries to open the intro,if one exists and otherwise will open the legacy 
     * Welcome pages.
     * 
     * @see org.eclipse.ui.application.WorkbenchAdvisor#openIntro(org.eclipse.ui.application.IWorkbenchWindowConfigurer)