Currently, if any control (property/action) is selected/highlighted in the right panel when editing a TextArea using the HTML editor, and you then add a new control, it will replace and wipe the selected control. This catches many users out as the selection is hard to see and often you are unaware it has been selected. The issue is compounded as Undo often then does not work when editing a TextArea, so you have to close the editor, choose not to save, and start again.
I don't think replacing an existing control in this manner is useful as you could simply delete it and add a new one instead. Can we change the behaviour when adding a control to only add the new control and ignore the selected control on the right panel.