Along with that, I'd like to suggest that when a dialog is closed, the ability to tap into the dialogs close event and keep the dialog from closing (much like we use halt/haltdef to keep text from displaying on screen for our own personal display options)

There have been situations where, on close, I'd want to hide the dialog instead of it closing. But halt/haltdef seem not to work and the dialog closes anyway.