New Handler method not working OJS 3.4.0.7

Describe the issue or problem
Please tell us what happens and what you expected to happen.
I made a new GridHandler and in it I created a method called readReview which is meant to open up an AjaxModal with the review form. However, everytime I click on the text that is meant to open the modal it just gives a 404 error even though I checked everything, routing name correct, URL should be correct. The handler I made is working aswell since the fetchGrid function in it is working fine and the handler is registered. Only the method readReview is not being called at all and I just get a 404 error.

What application are you using?
3.4.0.7

Additional information
Here is the code for the getCellActions function for generating the AjaxModal and the routing inside the CellProvider class I made to go with the GridHandler I made


public function getCellActions($request, $row, $column, $position = GridHandler::GRID_ACTION_POSITION_DEFAULT)
    {
        $router = $request->getRouter();
        $actionArgs = $this->getRequestArgs($row);

        switch ($column->getId()) {
            case 'viewResponse':
                return [new LinkAction(
                    'readReview',
                    new AjaxModal(
                        $router->url($request, null, null, 'readReview', null, $actionArgs),
                        __('grid.action.view'),
                        'modal_view'
                    ),
                    __('grid.action.view'),
                    'view'
                )];
                
        }

        return parent::getCellActions($request, $row, $column, $position);
    }

This is what I have for the readReview function in the GridHandler right now just to test and it doesn’t work at all:

    public function readReview($args, $request) {
        error_log("readReview method called.");
        return new JSONMessage(true, "Test content for modal.");
    }

Any help would be much appreciated I’ve tried many ways to debug this but can’t seem to fix it and just keep getting the 404 error no matter what.