Added code to hide/show the add button for the treatment factor

Reviewer: Cy Casada

Issue: none