Unless otherwise provided in the lease, a landlord has a right to re-enter leased premises when a tenant fails to pay rent, and may bring action to recover the possession of the premises and the action is equivalent to a demand of the rent. If, at any time before judgment, the lessee or a successor in interest pays the amount of rent in arrears with interest and costs of the action and performs the other covenants or agreements, the lessee or successor is entitled to continue in possession unless otherwise provided in the lease.
AS 09.45.690