Maybe just I am dumb but I can't make actions on selected text. There is neither popup menu nor {selection} or any other variable to use.