make context menu modular