Fix #2815

It is now possible to change the controller or action name in event handler for event: "dispatch:beforeDispatch"