Door panels loose

How do the rear upper end of the door panels attach? The rear of both panels in my ‘new’ '98 XK8 are unattached and flopping loose. I can’t find the attachment points. Help please?

You will probably find the clips and or the card have broken. You will need to source new clips to be able to repair.