Register show/hide events for fileselector widget.