If the title isn’t clear, my problem is best illustrated with a simple example. Here is a demo wiki for the example below.
I have a Modal
tiddler with the below content. I can open the HelloThere
tiddler and close it with the button.
[[HelloThere]]
<$button>
Close HelloThere
<$action-sendmessage $message="tm-close-tiddler" $param="HelloThere"/>
</$button>
I also have an OpenModal
tiddler can be used to open Modal
in a modal window:
<$button>
Open modal
<$action-sendmessage $message="tm-modal" $param="Modal" />
</$button>
But if I press the Close HelloThere
button from within the modal window, HelloThere
remains in the story river.
Is there a way to press a button and close both the modal window, and the HelloThere
tiddler at the same time?