add delete button to gallery index