bind the host on submit event to the document.