make sublime wait for edits before closing