making dialog buttons logging enabled