added text to image with undo