added visualization template to popup