Determine if sample is saved and show delete link