Steps to reproduce:
- open runtime process instance view for a process instance with incidents
- open incidents tab
- select any activity inside the tab (not on the diagram)
The variables tab gets opened.
The incidents tab stays open and only incidents for the given activity instance are shown.
The same behavior can be observed in combination with other tabs (i.e. user tasks, etc.).