Will the callback be passed to UI dialog, or there is another callback to receive the result from UI dialog?