add save/cancel button to tpl