Hi @RENOVATIO.
Thank you for your feedback. We are aware of this UX annoyance (other users have reported it too: Do not lose aggregation pipeline when switching to another collection or database – MongoDB Feedback Engine) and we intend to fix it.
For now, the workaround is to open the second collection in a new tab.