Setting appearsOnStatemetAsMaxLength for transaction modals