New replaceWidget method allows the widget editor to completely re-render a widget while preserving anything specific to the area editor, like the lockup type