Bug 24157 [Dialogs] MessageDialog needs to setFocus on default button
As the MessageDialog by default has no other widgets to set focus on we need to set focus on the default button to prevent it getting slammed by the default SWT behaviour.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
if (image != null) {
		Label label = new Label(composite, 0);
		image.setBackground(label.getBackground());
		label.setImage(image);
		label.setLayoutData(new GridData(
			GridData.HORIZONTAL_ALIGN_CENTER |
			GridData.VERTICAL_ALIGN_BEGINNING));
	}
	
	if (message != null) {
		Label label = new Label(composite, SWT.WRAP);
		label.setText(message);
		GridData data = new GridData(
			GridData.GRAB_HORIZONTAL |
			GridData.GRAB_VERTICAL |
			GridData.HORIZONTAL_ALIGN_FILL |
			GridData.VERTICAL_ALIGN_CENTER);
		data.widthHint = getMinimumMessageWidth();
		label.setLayoutData(data);
		label.setFont(composite.getFont());
	}
	return composite;
}
/**
 * Gets a button in this dialog's button bar.
 *
 * @param index the index of the button in the dialog's button bar
 * @return a button in the dialog's button bar
 */
protected Button getButton(int index) {