added delete buttons and fixed destroy actions