Please add in SDialog.js at lines 169 and 170 (function SDialog.prototype.showModal)
Math.max ( ... , 0);
to avoid any negative values on top and left.
Regards,
Julien.