Bugfix closing new image file name dialog