Add resourcedictionary.