In the event of the death before or after the passing of this Act of the
parents or of one of the parents of a minor the court may order that the
maternal or paternal grandparents of the minor or any one of them shall have
access to the minor at such times and places as the court shall deem proper:
Provided that applications under this section shall be heard in camera.