delete entity ui finished (with small errors, though)