SB1 - unique identifier and confirm prompt

1 - is there a way to get a unique identifier for the badge the application is running on?  For logging purposes I need to be able to identify which device issued a command.

 

2 - The confirm box shows an 'OK' and 'Cancel' button.  I need to be able to determine if the OK or Cancel was pressed but it appears that the callback only returns on a good response. (at least according to the documentation)  Can I determine which button was pressed or am I going to have to implement my own multiple choice message box that will pass back what was selected.