Keep the current tab when closing documents to the right of another tab