Also, the check for the `linkDisabledSelector` (let's name it `linkDisabledSelector` to keep it consisten with the other names) should be moved into the `allowAction` function.