{3state = 'YES'} is an alternative and shorter version of {['3state'] = 'YES'}. IUP controls are defined as Lua tables, and the short version is permitted only if the key is a valid Lua variable name. If you use the full version, it should work as intended.