Nested modal. Second modal does't close in Beta 5

I have an “edit ticket modal”, which pops open an “edit tags” modal on top of it. When I close the second modal, it slides down but underneath it is still the same second modal screen. I don’t get actually taken back to the original modal. I know this worked on Beta 3.

Known issue?

Have you tried the nightlies?

Just tried latest nightly. Does not work there either.

Alright, can you put this in a codepen?