A device for closing at least one opening leading to an anatomical cavity is delivered via a catheter positioned in a first opening leading to the anatomical cavity. An orientation control unit is positioned within the anatomical cavity. The orientation control unit defines an orientation of a portion of a tissue surface within the anatomical cavity that is skewed with respect to the first opening and orients a closure member of the device with the tissue surface. An occluding member and a constricting unit of the device are positioned within the anatomical cavity with the occluding member blocking a portion of an opening that is constricted by the constricting unit. An intermediate member of the device is positioned within the anatomical cavity and a closure unit employing at least one piercing element pierces through the intermediate member into a tissue wall surrounding the anatomical cavity.