add modal for email template preview