Add buttons that expand/collapse truncated messages.