inverses allowClose to disableClose