Methods for sealing the carious lesion