@geek1011: See this
PR for an example of that kind of behavior in KOReader.
(It could be polished to apply to the initial selection process, instead of only the edit of an existing highlight, and to re-position the popup so it doesn't intrude on the actually highlighted content. But, yeah, the concept works pretty well, and definitely makes sense.).