Adding a callback to be called before contextmenu to be open

That what the title say, a new callback before the contextmenu appears. Very usefull when we need show/hide menu itens when right click on some kinds of elements