Issue #2342053 by eshta: Re-assign data attributes to new html when replacing via personalize elements.