Replaces one widget with another
LSD.Action.Replace = LSD.Action.build({ enable: function(target, content) { if (content) target.parentNode.replaceChild((this.document || document).createFragment(content), target); } });