Actually use the modal tmpl.
Seems like the modal html needs to be wrapped into a single html element to avoid js warnings.