`panel.querySelector('header > h1')` as panel is already the element with id "appPermissions-details".