  Scattering resonances due to the dipole-dipole interaction between ultracold
molecules, induced by static or microwave fields, are studied theoretically. We
develop a method for coupled-channel calculations that can efficiently impose
many short-range boundary conditions, defined by a short-range phase shift and
loss probability as in quantum-defect theory. We study how resonances appear as
the short-range loss probability is lowered below the universal unit
probability. This may become realizable for nonreactive ultracold molecules in
blue-detuned box potentials.
