You need to add a backslash before each double quote when you include a string into another.
'("kzzbss :dialog{"
"label=\"temporary dialog\";"
":popup_list{key=\"tag\";label=\"Attributes:\";list=\"List1\\nList2\\nList3\\nList4\\nList5\\nList6\\nList7\\nList8\";}"
":edit_box{key=\"str\"; label=\"value:\";}"
"ok_cancel;}")
I do something similar I would suggest make the rectang a block you need 2 land and portrait, so the block can have a scale that eventually reflects the mview scale. When placed over dwg objects.
Has advantage of angle also.