BufferDelegate: add context menu