Add show/hide button for the template