added disableClose