close & save remaining margin