Actions on shared layers being removed

I’m starting using Omnigraffle for UX prototyping. I’m finding some features a little odd. I create a shared layer that shows a popup, for example, that contains a close button. The action associated to the button close this layer. I wish that to be consistent across all pages.

The issue is when I add an action to any page that shows that shared layer. Because I am performing an action that changes the visibility of this layer is strips out the action of the close button on that layer and I need to add the function again.

Is this normal? I’m going to try locking the popup layer to see if that makes a difference.

Well, this issue appeared in a live demonstration meeting after opening the same document I’d specifically fixed 30 minuted before. Has no one come across this?