Added delete UI and functionality for objects