Added support for conditional tabs

Realized I needed this too when I started work on the radio groups.