Close all info windows before resubmiting register form.