fix bug where edit modal was showing first edit, but not second: