fix bugs with opening annotation modal and with cursor position when creating new annotations
Merge branch 'document_new_workflow' into testing