beremiz

fix issue that if functional block is dragged from project panel into
ST text editor and in dialog 'Please enter a block name' button
'cancel' is pressed, despite of cancel text about drag'n'dropped type
is pasted in ST program.
{
"url":"ws://127.0.0.1:8888",
"realm":"Automation",
"ID":"wamptest",
"password":"1234567890",
"key":"ABCDEFGHIJ"
}