Hmmm. I'm not sure, TBH! The main difference between edit tags and the tag cloud is that edit tags uses the select form element. So I think you could base your approach on it, but if it's using an onchange handler , you'll need to make sure to be using an onclick.
no subject
(I haven't looked closely at the implementation)