For #26583 - Toolkit dialog now defers closeEvent acceptance to widget
- This allows the enclosed widget a chance to ignore the close event or perform other custom behaviour on close.
- Closes #106