created a context menu for the edit box

this was necessary to be able to catch the context menu actions,
something not possible with the built-in context menu; and as a side
benefit, the context menu actions now have icons