Improvements to table right-click context menu