Tabs: Enabled nesting of tabs

Fixes #6038
Merge pull request #6041 from pjackson28/fixnestedtabs

Tabs: Enabled nesting of tabs