Adding error message for missing OnModeEnter trigger