save changes in lotto_dialog