Document features in https://github.com/Xon/XenForo2-StandardLib/blob/master/README.md
Extend XF.Tabs to store the ID of the selected tab on submit via a hidden field.
Field name is set via data-sv-store-selected-tab-input-name added to the data-xf-init="tabs" element