popup: working with nested content (calendar directive)