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
Iterator it = handle.configVariablesIterator( );
					while ( it != null && it.hasNext( ) )
					{
						ConfigVariableHandle configVar = (ConfigVariableHandle) it
								.next( );
						if ( configVar != null && configVar.getName( ) != null )
						{
							configVars.put( configVar.getName( ), configVar
									.getValue( ) );
						}
					}
					handle.close( );
				}
			}
		}
		catch ( DesignFileException e )
		{
			e.printStackTrace( );
			
			try
			{
				if ( handle != null )
				{
					handle.close( );
				}
			}
			catch ( Exception e1 )
			{
				e1.printStackTrace( );
			}