finished adding, updateing and deleting of DialogClasses.