That’s because you never connected it:
Also, there’s no need to cast here.
Do note that buttons already have a bunch of dispatchers, if all you need is a click:
You would need a custom Event Dispatcher if you wanted to send some additional data - like a message in your example!