getModel( ).close( );
if(getModel()!=null) { getModel( ).close( ); }
	public void dispose( )	{		//dispose page		List list = new ArrayList(pages);		int size = list.size( );		for (int i=0; i<size; i++)		{			Object obj =list.get( i );			if (obj instanceof IReportEditorPage)			{				((IReportEditorPage)obj).dispose( );				pages.remove( obj );			}		}				// getSite( ).getWorkbenchWindow( )		// .getPartService( )		// .removePartListener( this );		if ( fPalettePage != null )		{			fPalettePage.dispose( );		}		if ( outlinePage != null )		{			outlinePage.dispose( );		}		if ( dataPage != null )		{			dataPage.dispose( );		}		getSite( ).setSelectionProvider(null );		// remove the mediator listener		SessionHandleAdapter.getInstance( ).getMediator( )				.removeGlobalColleague( this );		getModel( ).close( );		super.dispose( );	}