Tabs are a less frequent but sill an important UI element of your application. Usually, you do not need more then one set of tabs, but it is often
required to be able to add/remove, enable/disable, show/hide tabs dynamically. The tabs objects provides this funcitonality.
Some tabs can be permanent, some tabs can be dynamic (closable). You can create new tabs dynamically.
If it is easy to define a widget, it is easier to avoid mistakes. The code is clean and easy to read, as you can see below.