Princess Anne praised the dignity of the people of Wootton Bassett