Provide function which invoke context menu