HTML fixes and automatically close new calendar form.