Remove tabs from TabmMap onLoading instead of onBeforeNavigate on Safari.
Apparently you can used the reserved keyword "delete" as key when defining inline objects.