Create a modal box with a config object

Please update the documentation about modalbox function: modalbox of common helpers, Methods Webix Docs

The first paramter ‘text’ is not only ‘string’ type. It can be a config object.

Also please update the Webix definition type for TypeScript.
Currently, it defines this function as below:
function modalbox(text:string, callback:WebixCallback):HTMLElement;

So, we have a trouble when we call this function in TypeScript with a config object as the first parameter.

Thanks

We will update the documentaiton, thank you for pointing.