dont create a new document if there is only one empty, unedited document (gracefully handled with by app.openUrl())
new feature: edit->copy to snippet