Moved NewImage function into Dialog.py