The resource dictionary "{0}" cannot be added because it would create a circular reference. The order of references is: {1} ...