adapted to handle IConfirmation and show OK/Cancel

Modified MessageBoxAction so that it will detect if IConfirmation is used instead of INotification, and appropriately display an OK/Cancel dialog as opposed to an OK dialog.

Alternatively, this could be created as a separate class such as ConfirmationMessageBoxAction, and it and MessageBoxAction could inherit from a common base class.