fix return this object

var obj = $.dialog(); //返回当前对象 以供后续调用
alert('close');
obj.close();
Merge pull request #1 from EagleWu/patch-1

fix return this object