load encounter html form in a modal dialog