Fix CWE-457 in tag value dialog.