edoc view: if current selection has no doc, the old doc is still shown

User picture
User picture
User picture
User picture
User picture