Fix onClose reference.