Added validation when the participant details is edited.