update form element to use span instead of data attr because of the html sanitizer; prevent dup and remove when editting