Improve readability.
Convert confirm to data-confirm in engine generator.