Fixed problem with dialog and predicate name update