Add close button for memo
Fix layout issue in edit view
Support file: protocol for local files