add context.pop() call to retrieved the previous context after the call of a menu tag