refactor(bs3): use templates for modals