add template content for detail overlay