On the predefined dialogs (confirm, message, input, etc.)...how do you test if the default buttons are pressed (ie. Cancel)?