why not simply add the `alarm.id` to the `a[href]`? `<a href="#alarm-edit-panel/1" class="alarm-item"></a>`