Air bags are not designed to inflate in every collision. There are certain types of accidents in which the air bag would not be expected to provide additional protection. These include rear impacts, second or third collisions in multiple impact accidents, as well as low speed impacts. Damage to the vehicle indicates a collision energy absorption, and is not an indicator of whether or not an air bag should have inflated.
Hyundai Sonata LF 2014-2019 Service Manual: Movable Glass Repair procedures
Replacement
1.
Completely open the movable glass using the panorama sunroof switch.
2.
Remove both sides of the decoration cover (A).
3.
Completely close the movable glass using the panorama sunroof switch.
4.
Adjust the height of the glass by slighty loosening the screws (A).
...
Hyundai Sonata LF 2014-2019 Service Manual: Components and Components Location
Components
1. Knob & boots asssembly2. Upper cover complete 3. Console front complete assembly4. Console rear complete assembly5. Console rear mounting bracket
...