add possibility to add a closeableDelegate to intercept the closing of a
tab with information from outside