disconnect onClose() / onHiding()