bug fix

since we are using button text to distinguish buttons, we have to be
careful about button's that is provided in the bootstrap component like
the one in the modal.