Bug 201696 [Mac] window hard to resize
bundles/org.eclipse.ui.cocoa/src/org/eclipse/ui/internal/cocoa/CloseDialogHandler.java
public Object execute(ExecutionEvent event) throws ExecutionException {
		
		Shell activeShell = Display.getDefault().getActiveShell();
		
		if((activeShell.getStyle() & SWT.CLOSE) != 0) {
			activeShell.close();
		}
		
		activeShell.close();
		return null;
	}
}