[feature] close dialog on focus lost (f.e. user clicks into editor)

* made the dialog non-modal and added a focus-lost listener, which closes the dialog too

Pull request for issue https://github.com/born2snipe/recent-files-nbm/issues/11