kotlin-stdlib / org.w3c.dom / Document / onclose onclose JS 1.1 open var onclose: ((Event) -> dynamic)?(source)