send back the 'mode' value as well to be shown as the selector in the response page