In fact, I did not notice at first (you know, blue text on blue background is painful to read for old eyes), but your code is all wrong... dialog_id is an UUID, not the script dialog type name, and you send 'id', which is not even defined in your code...
The right code would be: