Settings
tab of your button and add a dedicated ID
Embed
element, insert this code in the existing <script>
tag:BUTTON_ID_1
and BUTTON_ID_2
with the ID you added on your button elements.
In this example we are opening the popup when the specified buttons are clicked but you could also use any of the available commands.