Properly set mode line modification flag.