added SaveChanges button and fixed DeleteResource button