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 :]
Develop games in your browser. Powerful, performant & highly capable.
The official release notes page btw for nw.js 0.14.2
[quote:27xkpyyt]Add: support 'oncancel' event of File dialog