How to do autocomplete in a Bootstrap modal form?
Drupal's JS is powered by behaviors. If you find yourself in a situation where you need to poke the system into life, you can manually attach the behaviors like so:

Drupal.attachBehaviors();