Dialog system improved. Now it's possible to init dialog with any data and then get dialog's result