Adds toggling text box for unions