[tw5] Tag to current tiddler after selection

Hello,

The following gives me a list of tiddlers with a checkbox. After selection, the tiddler defined in <> is tagged to the selected tiddler.

<$keyboard key=“escape” actions=’<$action-setfield $tiddler="$:/SearchTiddler" $field=“text” $value=""/>’>
<$edit-text tiddler="$:/SearchTiddler" filed=title tag=input default="" placeholder=“Search” class=“alert alert-info w-100”/>
</$keyboard>

<$list filter="[!is[system]search:text[{{]search:title[,]search:title{$:/SearchTiddler}]" variable=tagname>

<$checkbox tag=<> tiddler=<> ></$checkbox> <>
</$list>

But I want to turn this around. I want the selected tiddler to be tagged to the tiddler defined in <>

How do I do this?