Hard to say off the top of your head, but let's think:
If you get an error on refusal, it means there's an error in the function called upon refusal. You don't have one. Try appending nil as the last argument in QBox.
The error is gone) Many thanks
Strange — I based my QB on the devs' map with Freyda, where she's asked whether to pass through the dwarf garrison. I also dug into ToE maps; in the very first campaign map there, there's also a QB without a refusal argument. Or maybe the game complains about the third argument because I'm using a variable-transmitter to the text file "<TestWork_mp>"?