Contact validation on edit contact