[ALOY-949] fixed buttonNames set through dialogs.confirm() as an argument

[ALOY-949] added in another test case