protected override void OnDetaching() { base.OnDetaching(); DynamicTriggers.UnregisterHost(); DynamicTriggers.Detach(); Reactions.Detach(); }