Render Formatting

I have a button menu in which certain buttons are only meant to be viewed/used under certain conditions:

The function seem to be working properly except for one issue. When the user clicks “SUBMIT TO VENDOR”, 2 new buttons are rendered:

The problem occurs when the user clicks the cancel button - which simply cancels the action and renders the new buttons invincible. The function is working, except it leaves behind the following trace:

When I review the Developer, the style has changed from “display:none” to “display:inline-blocks”

Can anything be done about this?

Anyone every see anything like this?

Ok this is a guess.  I think you’ve applied some custom css to the QB2 Id  which is getting retained when its internal contents are being rendered away.  I think if you strip off the styling you’ll be good.  That may not be enough though.