Relate notesTree actions to attachmentView behavior.