added default template for dialog