edit document view