Added possibility to change default template engine for header, footer and body in modal binding