add email template to modal