[web/data] Fix userCallbackThenUpdateUI to completely replace old DOM elements
Without the 'swap' parameter, userCallbackThenUpdateUI() would replace
the _children_ of the component with a new version of the componenent,
thus creating nested divs/spans/buttons/etc.
Closes #4881299
sync_schema_props_perms('State')
sync_schema_props_perms('state_of')
sync_schema_props_perms('BaseTransition')
sync_schema_props_perms('Transition')
sync_schema_props_perms('WorkflowTransition')
sync_schema_props_perms('transition_of')