fix "Edit document: undefined"
fix aborting of doc creation
remove horizontal scrollbar for doclist