button for delete index