1998 Volvo s90 keyless entry remote unable to program. on 1998 Volvo S90

Dealer said remote is good but sensor on dash is not communicating. Should blink when successfully programmed but does not.

Asked by for the 1998 Volvo S90
Make sure all the doors and trunk are closed when performing the programming, or it won't work.