add templated widget