Added type="button" to closeHtml.