I haven't seen it before, but one thought I had was to check whether you see any difference between using dlgitem_get() and dlgitem_get_value(). Whichever one you're using now, maybe try the other and see if you get more reliable results.
You might also try varying between dlgitem_set() and dlgitem_set_value() to see if that makes any difference.