Only reset on edit to avoid displaying errors.