Cancel button on new graph add now works.

Fixes #5