Rotating an image in the viewer also should set the dirty marker, as the annotation dialog does.