Access html content after clicking "Ok"

I want to access an html element (a select) after user clicks “Ok”. However, as the modalbox has disappeared after Ok choice, callback cannot reach html window content.
http://webix.com/snippet/9cc7475c

Is there any way to achieve that?
If not, Is it possible to put html content in a Webix window?

Thanks in advance!

The callback function occurs after the box is destroyed, when the needed element is no longer in DOM. The best solution I can suggest is to use a basic Webix window with all necessary methods. Here’s a small example:

http://webix.com/snippet/42b51c4c

Well, another “solution” is to hide Webix buttons and add custom buttons for which we have complete control.