Bug 140985 Cancel button in parameter dialog doesn't work
Description: Cancel button in parameter dialog doesn't work Steps to reproduce: 1. New a parameter 2. Preview and click Cancel Expected result: Transfer to layout Actual result: Nothing happened.
UI/org.eclipse.birt.report.designer.ui.preview/src/org/eclipse/birt/report/designer/ui/preview/editors/ReportPreviewFormPage.java
import org.eclipse.gef.ui.actions.ActionRegistry;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import com.ibm.icu.util.ULocale;
/**
 * Preview page.
 */
public class ReportPreviewFormPage extends ReportPreviewEditor
		implements
			IReportEditorPage
{
	public static final String ID = "BIRT.Preivew"; 
	private Control control;
	private int staleType;
	private FormEditor editor;
	
	public static final String SUFFIX_DESIGN_FILE = "rptdesign"; 
	
	public static final String SUFFIX_DESIGN_CONFIG = "rptconfig"; 
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.designer.ui.editors.IReportEditorPage#onBroughtToTop(org.eclipse.birt.report.designer.ui.editors.IReportEditorPage)
	 */
	public boolean onBroughtToTop( IReportEditorPage prePage )
	{
		boolean isDisplay = false;