webix.modalbox own result ID

Is it possible to give each button it own return/result value?
Depending on some variables i want to show one or more buttons.
say I want max. 4 buttons but sometimes I olny want to show button 2 and 4.

To handle the result with these “2” and “4” button I get as result 0 or 1…
A self given ID would be practical.

it this possible now … or in a next version?

thanks
WimK

Found a solution by using the details property!
While debugging i found not only the RESULT will be retuned but also the CONFIG.DETAILS. (a undocumented feature!)

So I can set the DETAILS given as parameter.

http://webix.com/snippet/8ce98c6d