Register show/hide events for conformant widget.