confirm when close with changes