Detaching events not working

There appears to be an issue with event handling on DHX Windows. (I haven’t tested other components, but if this requires a development fix, they should probably be checked also.) I am unable to detach events because setting the event does not return a required identifier for detaching. Please see this snippet for example: https://snippet.dhtmlx.com/pvwvf6vf