Issue #15: Updated email directive to use popup