move all progress modal functionality to modal controller