Fix modality in BotScriptViewer.