Edit page: small optimization in init