The modified Calabi-Yau problems for CR-manifolds and applications