Can you explain why we need to register context menus with PopUpManager? I commented out this line and it still works for me.