Add ui_mode and type to gr.Dialogue (#11696)
* tweak
* Fix
* Fix
* Fix
* tweaks
* Demo
* add changeset
* Fix
* Add code
* Fix bug
* Fix preprocess
* tweaks
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>