added a delete button to delete the selected object