when exit, should confirm.