Updated IF statement to handle user clicking the cancel button, instead of it throwing out the case number issue error.
Merge pull request #5 from timobis1/master

Updated IF statement to handle user clicking the cancel button, instead ...