Fixed import code so that the progress so far works with the new showmodal