It's a rare problem that can arise - it's called Osteonecrosis of the Jaw (ONJ). I'm not sure if doctors give a warning about it as a matter of course - mine did because I was having trouble with my wisdom teeth, and I've had to have all four WT removed before I can start on any osteoporosis meds.
There is a blood test your doc can do to assess the rate of bone turnover and give an idea of your individual risk of developing ONJ. I believe the preventative therapy involves the use of specific antibiotics and antibacterial mouthwash, but obviously that is something you need to discuss both with your doc and your dentist.
I hope that helps