save(); if(SearchAndReplace.find(view)) closeOrKeepDialog();
if(!save()) return;
	public void ok()	{		if(batchSearch.isSelected())		{			save();			if(SearchAndReplace.batchSearch(view));				closeOrKeepDialog();		}		else		{			setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));			save();			if(SearchAndReplace.find(view))				closeOrKeepDialog();			setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));		}	}