Register show/hide events for web widget.