A "cancel" event listener is coming in the next version of nw.js, according to the link below
Ashley could we have this "on cancel" next to the other "file dialog ok" events?
This would definitely save me a few headaches for later :]
https://github.com/nwjs/nw.js/issues/4501