Bug 62970 Layout problem when the user presses details in the error dialog
In org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog, When the user presses the details button, the dialog's layout gets corrupted and the user will not be able to see the buttons. I will attach a snapshot of the problem.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/InternalErrorDialog.java
parentShell,
		dialogTitle,
		dialogTitleImage,
		dialogMessage,
		dialogImageType,
		dialogButtonLabels,
		defaultIndex);
	defaultButtonIndex = defaultIndex;
	this.detail = detail;
	setShellStyle(getShellStyle() | SWT.APPLICATION_MODAL);
}
 
public int open() {
	create();
	Button b = getButton(defaultButtonIndex);
	b.setFocus();
	b.getShell().setDefaultButton(b);
	return super.open();
}
	
/**
 * Set the detail button;
 */
public void setDetailButton(int index) {
	detailButtonID = index;
}
/* (non-Javadoc)
 * Method declared on Dialog.
 */
protected void buttonPressed(int buttonId) {