data getting produced in template popup