bug fix: select and use editor context popup

1. use context popup menu make selection disappeared
2. hide unlock button if document can't modify