fix(modal): allow in-lined controller-as controllers