update data attributes to allow adding class on tooltip dialog