public void BeginEdit()
{
// raise the property change event here to force the edit form to rebind
// all controls, which will erase all error states, if any, left over from the previous edit
OnPropertyChanged("PackageMetadata");
IsInEditMode = true;
}