close top most sliding panel

I have a sliding panel that opens with 95% of the screen.  Within the opened sliding panel I open another sliding panel with 90% of the screen.  If I put a button on the page “Close” and choose the action “Close All Sliding Panels” it does exactly what the choice says. Create a method to close ONLY the top sliding panel like closing the “Top Most Popup”?  

Very much needed functionality! 

I moved from sliding panels to pop up as Skuid does not understand the importance

Agreed. This is key functionality for developing a robust experience, particularly around mobile.