Remove context menus from DOM on 'detach'
Pass context to 'action' handler functions.

'action' functions will now receive the DOM element that was right-clicked
to create the context menu as their second argument.