Dench played "M" in eight Bond movies over 20 years.