removed error in edit task dialog