I think if you add delays in D3 for your close button press. Kinda like this (don't have D3 open at the moment):
Close Middle Shade
<wait 2s>
Close Middle Left Shade
Close Middle Right Shade
<wait 2s>
Close Outer Left Shade
Close Outer Right Shade
Obviously adjust timing to your needs. Only way I can think of to get them to do what you want.?