assign a unique return value for the cancel menu entry

The switch statement below already returns properly on any unhandled menu entry.