Bug fix - confirm action is never called in a warning alert

Confirmed button element included additional class and thus prevented from the confirm action to be called. 
In my angular app, the button className is 'confirm activated' and therefore "confirm" action was never called.