Finally, I was able to reproduce. It seems to be a glitch with how the editor dims and lock when showing the preview dialog (possible any dialog).
I was able to break out of the glitch by pressing preview again. It was not serious, in my case, but I was able to reproduce it twice in a row.
Just sharing just in case this helps during code review.
(NW.js Desktop Build - r204.2)