[TabBar] Option to show/hide close button on inactive tabs. Closes #1220