Back to previous overlay

When I swap overlays, I would like the On Click > Back action applied within the overlay to swap back to the previous overlay. Currently, an On Click > Back interaction on a swapped overlay does nothing.