fix tabledialog template
update todo
small fix tabledialog template
add model and editwidget templates