menus will appear only when annotations are present