Added confirmation dialog box for deleting a barcode.