The idea is to show the modal and then cause the progress bar to animate from 0% to 100%. Bootstrap already has the transition defined in the framework, you just need to change the width to reflect the progress.