Register show/hide events for separator widget.