Error When I use event "onRowDblClicked"

I use event “onRowDblClicked” to copy data from dhxGrid in dhxWindow to another dhxGrid in body But when I double click on it I found some error in my firebug. What’s happen? I attach complete demo for with this post. Please help me.

Sorry for my weak english.
complete_demo.zip (555 KB)

To fix this issue change your code like the following:

window.setTimeout(function(){ testWin.close(); },100);

Ok It’s work. Thank you.