It would be useful to be able to dismiss the JS preview, window which comes up when clicking the eye icon, by pressing "Esc". At the moment one needs to click on the "Close" button with the mouse which is slow. This will not be necessary if the previews are embedded in the normal view.
That's a good idea -> issue #861 (done)
But note you can close the window by clicking anywhere outside the window.