close without saving dialog will no longer show up when saving a
document.