Lower Dock as Alarm Drawer Per Site

Hi Community,
I want to use a docked view in the lower dock as an alarm drawer that automatically filters based on the site overview (page) that's being displayed. I've done a fair bit of searching and haven't found anyone doing anything similar. My approach is to pass the dock a LocationID parameter that then runs through a script to apply the correct filter to an Alarm Status Table. Does anyone have any pointers on how I can implement this?