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