DTextEntry- add an option to menu?

Do you know the menu that comes up when you right-click any DTextEntry? It has the basic text options on it such as cut, copy and paste, and you can even change the language with it. My question is, how would I add an option to this menu? For example, an option that says ‘example’ that when pressed would run a function?

I don’t think you can.

Looks like I’m going to have to draw some surface shapes when the text entry is right-clicked to make it look like there are more menu options then, but how would I make them do something when they are clicked? I couldn’t use a DButton for the options because that’d get created a LOT of times (at least with a HUDPaint hook), and removing or hiding them would be a a hassle, especially because pressing something like ‘copy’ on the menu would hide it, but not the buttons. Any ideas?