fixed a bug that prevented a closed BotTab to be reopened.