Gh405 propagate flags from codesync algorithm

Test that it still works outside of sync, i.e. when you edit the model from the UI (add, remove, set property)