new repayment window react on enter button