Adding delete button to gallery