Updated according to Jeremies suggestion

Try the following

<$button>
<$action-sendmessage $message="tm-modal" title=<<currentTiddler>> varxy="hello world!" />
Click me!
</$button>

what will it be?
<<varxy>>