nw.js 0.47.x: Preferences don't close with Ok or Close
I can reproduce this (on Linux) as follows: Open the prefs dialog, change something, press Ok. The dialog will close alright the first time. Do it again => Ok still commits the changes, but doesn't close the dialog anymore, neither does the Close button. I have to close the window from the window manager using the x button to get rid of the window.
With 0.22.4 this works every time, so this seems to be a regression for the latest nw.js versions that I've been using lately (0.46+). Also happens on Windows (with nw.js 0.47.3).