Redid destroy function, added ability to destroy from pending page