Adds ajax to delete button in posts