PRINCE: dialogImage - memory leak fix