async fn finish(state: &AppState, def_id: &str, id: &str, how: How)
End the window: take it out of the ledger, clear the chip, write the row, and run the closure.