WIP switch to a document range mechanism with popup
Fix wrong referencing to the sId element
Merge branch 'feature/line-breaks' into develop