Log toolbar button clicks.