The Original Title was:
Could we replace the code of $:/core/ui/SideBar/Open with list-links-draggable and a template I changed it to make more clear what I want.
If given:
<<list-links-draggable itemTemplate:"$:/plugins/JJ/drag-and-close" type:"div" subtype:"span">>
no
What is wrong with this $:/plugins/JJ/drag-and-close
<$link tooltip={{!!title}} >
<div style="width:100%;text-align:left;padding-top:4px"><<targetTiddler>>
<$button class="tc-btn-invisible">{{$:/core/images/cancel-button}}
<$action-listops $tiddler=<<targetTiddler>> $subfilter="-[<currentTiddler>]"/>
</$button><<!--the title which allows to sho an optional alias
<$list filter="[all[current]has[alias]]" emptyMessage={{!!title}}>{{!!alias}}</$list>
</div>
</$link>