Add progress dialog while prediction is running

Closes #47