dot styling and tooltip box