open modal with template url rather than a template