working with function for getting object from controls in catalogs.create