fixed new customer save function and form clearing post-submission