added cancel option to DirtyHandler. Created a RepositoryChanged and BrowseRepository class