Creating and Closing tabs with patternmatch callbacks

Now with patternmatch callbacks, is it possible to add dynamically tabs to a tab bar? Is it also possible to delete tabs?

Best regards!