Generic context menu creation