Confirm infobar reload when document has modifications

Also stops infobar from closing when overwriting fails.