Created a processDialog on pulling images