datasheetinfo: fix addcomment/cancel