Make cancel button work
Merge pull request #7 from jamesdlow/master

Make cancel button work