Multiple interactions with on click trigger

Hi
I’m using “on click” from the prototype function with an open overlay.
But I’m facing issues and am not able to resolve them.

What I want is when I click one button, it brings 2 overlays to the screen.
I don’t have any problem creating for 1 overlay, but when I try to use “Add action” I’m able to add another option under existing on click modal, but I’m not able to find it on the prototype. I can only see the first element but not the second one.
I’m assuming it is a bug or if works as intended can anybody help me to solve this problem?

Thanks,