what happens if old code calls this line? is this BC compatible or do we need to check if config.deleteInOverlay is defined && true?