fix dialog region
rename doc to docId
set author and last_author field on model save
add document links modal
rework document edit ui
add links to json
cleanup
Merge branch 'develop' into feature/ACL_api_and_ui