[TIMOB-16975] Fixed alert dialog button indexes in click event

[Jira ticket](https://jira.appcelerator.org/browse/TIMOB-16975)