Add DocView ContextMenu, Fix a bug in DocView