This html construction is pretty trivial and can probably just be done within the template. This comment applies to this window as a whole. As an example, look at the new result details modal. [Here](https://github.com/cbmi/varify/blob/279478179116cab5ab27aaaf73d6d037b8150ded/varify/static/js/src/ui/variant/summary.js) is a view that uses a [template](https://github.com/cbmi/varify/blob/279478179116cab5ab27aaaf73d6d037b8150ded/varify/static/templates/variant/summary.html) to render the data rather than construction the html within the view itself like it is done here.