Thanks for Your respond, but I'm not sure how to use the answer. I have this code in a template-tiddler:
\define modalLink(tiddlerName,message)
<$button message="tm-navigate"
param="$tiddlerName$"
class="tc-btn-invisible tc-tiddlylink
">
$message$
<$action-sendmessage $message='tm-close-tiddler'/><$link to={{!!title}}><$view field="caption"/></$link>
</$button>
\end
<div class="storyList">
<$list filter="[genus{!!caption}!has[draft.of]sort[caption]] -[rank[genus]]">
<$macrocall $name="modalLink"
tiddlerName=<<currentTiddler>>
/>
<br/>
</$list>
</div>