added action/button support to template