Perspective alarm status table, how to force it to open with shelved tab instead of active tab?

Title says it all

alternative: is there a way to determine via prop or scripting wether the active or shelved tab is open ?

Use case: when an alarm, either active or shelved is selected and a button is prssed, the faceplate of the control module the alarm belongs too has to open. I get the data from the tag the alarm belongs too, but the data presented to you is different wether the alarm is active or shelved