Buttons have (user-specifiable) IDs

Added IDs to confirmation dialog.
- Default ID: button-<#>
- User-specifiable

I need this for automated testing.