Dear Customer,
Try this way
1. Add the code below into the custom dialog page. My test dialog page under folder “\CuteSoft_Client\CuteEditor\Dialogs\”. So just make the url correct which point to file “Load.ashx”.
<script type="text/javascript" src="Load.ashx?type=dialogscript&verfix=1004&file=DialogHead.js"></script>
2. Use code do_Close() to close the dialog, like below.
<input class="formbutton" type="button" value="[[Cancel]]" onclick="do_Close()" />
Keep me posted.
Regards,
Ken