Yes, it's possible. The edit box doesn't recognize the sclick (it appears), so it took some trial and error to find just what would work. Use this instead of your current sclick
Code:
on *:dialog:tmuscript:*:10,11:{
  if $devent == mouse && !$did($did).edited {
    did -r $dname $did
  }
}