if ( adapter != null )
if ( adapter != null && isValidModelFile( ) )
	public void doSave( IProgressMonitor progressMonitor )	{		super.doSave( progressMonitor );		Object adapter = ( (IEditorPart) this ).getAdapter( IReportProvider.class );		if ( adapter != null )		{			IReportProvider provider = (IReportProvider) adapter;			ModuleHandle model = provider.getReportModuleHandle( getEditorInput( ),					true );			SessionHandleAdapter.getInstance( ).setReportDesignHandle( model );		}	}