add section dialog
update sample/template one