After adding a mouse Click/Scroll action, any option but "Click left button" will gray out the "OK" button when editing the action.
Only selecting a different option will re-enable the button. Changing the "Scroll wheel" numericupdowns doesn't change the button state, however pressing enter with one of them selected will close the dialog and save changes.