Improve add dialog value selector [HTML]