fixed unsaved to unsent in dialog box