CloseActions are events

CloseAction has been renamed to DialogClosing and turned into an event.
The event is passed EventArgs that contain a Result parameter of type
XNADialogResult. This value can be used to pass different actions
returned from the user back to the calling function.