Issue #2232841 by eshta: Append advanced option states to element rather than overwrite when adding action.