dismiss dialog in child elements list


im looking for solution how to solve this problem.


here’s the video what I implemented.

to dismiss the first dialog I set background panel like this

		<Show TargetNode="platformDialog" />
		<Show TargetNode="backgroundPanel" />

<Rectangle ux:Name="backgroundPanel" Color="PrimaryText" Visibility="Hidden" ZOffset="1" Opacity="0">
		<Hide TargetNode="backgroundPanel" />
		<Hide TargetNode="platformDialog" />

but couldn’t close dialog in child list because of those are inside of other component.

I hope there is any good ideas or solutions to control this situation.
thanks to read.