add a X to just close dialog
aohanhongzhi opened this issue · comments
aohanhongzhi commented
Checklist
- I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
- This issue only relates to a single feature. I will open new issues for any other features.
Is your feature request related to a problem?
no
Is it possible to construct a solution with the existing API?
no
Describe the solution you'd like to see.
add a X to just close dialog
Andy Williams commented
Dialogs are designed to be "modal input" as in you need to acknowledge or choose from the provided options.
I don't think adding a way to cancel them outside of the specified choices makes sense.
However, if you want to put extra content like this into a dialog you can - use the custom dialog and then you completely control the content.