Adding diagram arrow highlighting and modification, persisting changes from the dialog to the data structure