I tried jumping to a tiddler after closing the modal, which doesn’t seem to work
<$navigator story="$:/StoryList" history="$:/HistoryList">
<$button tooltip="tip">
Jump xxx tiddler
<$action-sendmessage $message="tm-close-tiddler" $param=<<currentTiddler>>/>
<$action-navigate $to=<<currentTiddler>>/>
</$button>
</$navigator>
Here is chatgpt’s answer, which is obviously not entirely correct
If you use the TiddlyWiki code provided above in a modal box, you may run into problems because the modal box will run in the context of the current page, not in the context of the TiddlyWiki application.
In order to use the code in a modal box, you need to make sure that the code is running in the context of TiddlyWiki. You can implement the code as a custom widget for TiddlyWiki, and then call the custom widget in the modal box.
To create a custom widget, save the above code in a file called yourCustomWidgetName.tid and place the file in the $:/widgets/ directory of TiddlyWiki. Then call the custom component in your TiddlyWiki article using the following syntax.
bash
Copy code
<$yourCustomWidgetName/>
This way, when you use this syntax in a modal box, the code will work correctly in the context of the TiddlyWiki application.
Translated with www.DeepL.com/Translator (free version)