The syntax for OnAction callback is a bit different to standard callbacks, as the Cancel parameter has to be provided. This Cancel parameter determines whether only your function or also the standard callback should be processed.