fix(modal): better support for inline ng-template