add structure to handle context menu selection click event