Ask for confirmation when saving document with errors

Bug: 63202
Change-Id: Ifbdf976f3c0f27da67d7cf034c040d4279d62217
Merge "Ask for confirmation when saving document with errors"