Context menus are called with the right button - and dependent on the current command.... They are POP500(+) menus.... You may find the Exact POP### to be a bit different from what you expect... What I did to be certain of the POP# was to add a line under the heading of each to display the POP# of that menu... just for development purposes.
**POP502
**CMEDIT
[Context menu for edit mode]
/// the next line is added.
id_mepop [~ p502]
ID_CMSelLast [&Repeat %s]^C^C;