Scripts for the toolbar: Attach tab & Detach tab

Never done this but it should be possible by setting it via id . However at the moment there seems to be a bug Open tab for doesn’t return a tab