register show/hide events for toolbar widget