Refs #20302; add a new onRestoreCallback method to be called when restoring the form in case we need custom restoring logic