minor fixes to dlgSearchObject