Have you tried to add the number from the edit line? Open the dialog, then go to the edit line and type:

/did -ra dialogname 1 123
/did -ra dialogname 1 test

Replace dialogname with the dialog's name and make sure "1" is the correct ID. Note that the "r" in -ra just removes anything that is already there. It will make testing "cleaner."

If 123 doesn't go in, but test does, then I haven't got a clue. If they both go in from the edit line or both don't go in, then we can go from there.