[TreeSelectionSynchroniser] check for null diagram model in case it's gone