Detecting Cancel on numericKeypad

It seems you must pass a default numeric value to a numericKeypad. What I have been doing is passing the value in the table cell the use clicks on as the default or 0 if the cell is empty (None). The problem is, I need to detect if they hit cancel instead of entering a value. Am I missing something?