adding buttons for creating template