addMenuCallback method, refs #98