If the sidestage is hidden the top app in the sidestage stack is not considered a foreground app. and should therefore not appear in app stack (unless it qualified as a background app).
If the sidestage is hidden the top app in the sidestage stack is not considered a foreground app. and should therefore not appear in app stack (unless it qualified as a background app).