Validation for dates added, edit layout fixed