<template name="peppelg_modal">
	{{> UI.dynamic template=templateName data=data}}
</template>
<template name="peppelg_modal">
	{{> Template.dynamic template=templateName data=data}}
</template>
Use Template.dynamic instead of UI.dynamic.
Use Template.dynamic instead of UI.dynamic.
