Fix #29. Text selection in notesEdit works correctly now.
Bring back contextMenu in attachmentView.