Don't ask me why, it works this way:
title: My Tiddler
\define btn() <$button
message="tm-close-tiddler">{{$:/core/images/done-button}}</$button>
<$button>
My Modal
<$action-sendmessage $message="tm-modal" $param="My Modal" btn=<<btn>> />
</$button>
title: My Modal
footer: <<btn>><$button
message="tm-close-tiddler">{{$:/core/images/close-button}}</$button>
!It works
Still searching for someone who helps me to understand.
)+(au
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/ac1abfef-64dc-4c7c-bb4d-402bdba8741f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.