Dialog Modal; clicking "x" to close
I am running into an odd issue. I have a UI modal dialog box that asks
the user to "Submit" or "Cancel". Both buttons unleash various
actions.
The problem I am running into is when the user closes the box by
clicking "x" on the top right of the box, rather than "Cancel". No
actions are unleashed when that happens. I have implemented
closeOnEscape:false to remove that option, but I am wondering if:
a) the "x" can be removed,
or
b) the "Cancel" actions can be assigned to the "x" (preferable option)
Thanks for you time,
Shadraq