You can use the Unity Events for the mode to let you know when a mode start or ends
Subscribe to Modes via Inspector
How to Listen to anyMode.
Use the global Unity Events On Mode Start and On Mode End
How to Listen to a specificMode (e.g. Attack1)
On the Global Properties Section of every Mode you can Subscribe to the Unity Events On Enter | On Exit to listen when the Main Attack (Attack1) Starts or Ends.
How to listen to an Ability inside a Mode (E.g. Subscribe to Eat Action)
if you want to listen to an specific Ability (E.g. Eat) then you can use the Override Properties:
Set the Override Affect States Option Select NONE (that way the Ability will use the Global Affect parameters)