show: function(ed)
{
this.ed = ed;
ed.selection.save();
XF.loadOverlay(XF.canonicalizeUrl('index.php?editor/dialog&dialog=' + this.dialog), {
beforeShow: $.proxy(this, 'beforeShow'),
afterShow: $.proxy(this, 'afterShow'),
init: $.proxy(this, 'init'),
cache: this.cache
});
},