SCHINDLER, J.
¶ 1 4105 1st Avenue South Investments LLC filed an unlawful detainer action against Green Depot WA Pacific Coast LLC. Green Depot argues the trial court erred in denying its motion for attorney fees as the prevailing party in the unlawful detainer action. We reject Green Depot's argument and affirm.
¶ 2 On March 22, 2007, Bit Holdings Sixty-One Inc. entered into a commercial lease agreement with Built-E Inc. for 38,148 square feet of commercial space located at 4121 First Avenue South in Seattle. The 60-month lease began on March 22, 2007 with agreed upon extensions for two successive terms. The lease sets forth an escalating monthly fixed minimum rent for the 60-month term with a provision that addresses interest on past due amounts owed. The lease contains an attorney fee provision for an award of reasonable attorney fees "to be paid by the losing party."
¶ 3 1st Avenue South Investments LLC (4105) acquired the rights to the lease from Bit Holdings Sixty-One. Built-E assigned its rights under the lease to Green Depot WA Pacific Coast LLC (Green Depot). In February 2011, 4105 and Green Depot entered into an assignment and assumption of the March 22, 2007 lease agreement (Assignment and Assumption).
¶ 4 In December 2011, 4105 served Green Depot with a three-day notice to pay $106,194.01 in past due rent or vacate. On January 9, 2012, 4105 filed a commercial unlawful detainer action requesting a writ of restitution and alleging breach of the lease agreement. 4105 alleged Green Depot had not paid $106,194.01 in past due rent. 4105 sought a judgment for past due rent, damages, and an award of attorney fees "as authorized by the parties' written agreement," King County Superior Court Case No. 12-2-01450-7 SEA. In the answer to the unlawful detainer action, Green Depot denied the claim for past due rent of $106,194.01 and that 4105 was entitled to a writ of restitution.
¶ 5 On January 27, 4105 filed a separate cause of action against Green Depot alleging breach of the lease agreement and requesting an award for $106,194.01 in unpaid rent
¶ 6 At the show cause hearing on February 24, the court set the unlawful detainer action for an expedited trial. RCW 59.12.130 states that "[w]henever an issue of fact is presented by the pleadings it must be tried by a jury." The court scheduled the trial date for March 26, four days after the end of the lease. The attorney representing 4105 told the court that 4105 had another tenant "lined up" to move into the space, and expressed concern that if Green Depot did not vacate at the end of the lease, 4105 "would be subject to damages in the millions for loss of this new lease agreement." In response, the Green Depot attorney stated his client "[did] not intend... to overstay" and agreed that if Green Depot did not vacate by the end of its lease, 4105 "shall be entitled to issuance of a writ of restitution on or after March 23, 2012."
¶ 7 The parties entered into a written memorandum of understanding. In the memorandum, 4105 also agreed to give Green Depot the option to occupy a small portion of the premises through May 31, 2012 at a monthly rate of $8,164.80. The memorandum of understanding states:
The certification for trial states, in pertinent part: "[P]laintiff shall be entitled to issuance of a writ of restitution on or after March 23, 2012 subject to terms agreed upon by parties in the Memorandum of Understanding incorporated herein by reference."
¶ 8 In a March 6 e-mail, the attorney representing Green Depot confirmed that the expedited trial date should be stricken. The attorney reiterated that if Green Depot did not vacate at the end of the lease, 4105 would be entitled to a writ of restitution. The email from the attorney representing Green Depot provides, in pertinent part:
The attorney representing Green Depot also acknowledged that 4015 could "still pursue its separate breach of contract action." In reply, the attorney representing 4105 requested Green Depot sign and return the lease amendment. The e-mail from the attorney representing 4105 also states that "[a]ssuming of course your client opts to vacate on or before [March 23,] I will also draft and send to you for signing a stipulation and order of dismissal of the eviction lawsuit." On March 20, the parties confirmed with the court that the March 26 trial date should be stricken.
¶ 9 On March 22, Green Depot moved out of the leased premises except for the portion it was allowed to continue to occupy. The next day, 4105 sent Green Depot a stipulation and order of dismissal of the unlawful detainer action. Green Depot did not return the stipulation.
¶ 10 On March 26, Green Depot filed a motion for an award of attorney fees and costs of $28,231. Green Depot claimed it was entitled to the award of fees as the "prevailing party" under the terms of the lease because it successfully defended against the unlawful detainer action, and 4105 "has received exactly none of the relief sought."
¶ 11 In opposition, 4105 asserted Green Depot was not the prevailing party because there was a separate pending breach of contract
¶ 12 The court denied Green Depot's motion for an award of attorney fees and costs as the prevailing party in the unlawful detainer action. On January 11, 2013, the court entered an agreed order dismissing the unlawful detainer action without prejudice to Green Depot's request for an award of attorney fees and costs in the pending breach of contract action. The order states, in pertinent part:
Green Depot appeals.
¶ 13 Green Depot contends the court erred in denying the motion for an award of attorney fees and costs as the prevailing party in the unlawful detainer action.
¶ 14 Interpretation of the lease provision is a question of law that we review de novo. Torgerson v. One Lincoln Tower, LLC, 166 Wn.2d 510, 517, 210 P.3d 318 (2009). Washington follows the objective manifestation of contracts theory. Hearst Commc'ns, Inc. v. Seattle Times Co., 154 Wn.2d 493, 503, 115 P.3d 262 (2005). Our primary goal in interpreting a contract is to ascertain the intent of the parties. Hearst, 154 Wash.2d at 503, 115 P.3d 262.
¶ 15 We determine intent by focusing on the objective manifestation of the parties in the written agreement rather than the unexpressed subjective intent of either party. Hearst, 154 Wash.2d at 503, 115 P.3d 262. Accordingly, a court considers only what the parties wrote; giving words in a contract their ordinary, usual, and popular meaning unless the agreement as a whole clearly demonstrates a contrary intent. Hearst, 154 Wash.2d at 503-04, 115 P.3d 262. "`Where the terms of a contract are plain and unambiguous, the intention of the parties shall be ascertained from the language employed.'" Marine Enters., Inc. v. Sec. Pac. Trading Corp., 50 Wn.App. 768, 773, 750 P.2d 1290 (1988) (quoting Schauerman v. Haag, 68 Wn.2d 868, 873, 416 P.2d 88 (1966)). The court must harmonize and give effect to all the language in a contract. Nishikawa v. U.S. Eagle High, LLC, 138 Wn.App. 841, 849, 158 P.3d 1265 (2007).
¶ 16 Section 24.11, the attorney fee provision of the lease between 4105 and Green Depot, states:
¶ 17 Under the plain and unambiguous language of the attorney fee provision, the "the prevailing party in any action, on trial or appeal, is entitled to reasonable attorneys' fees as fixed by the court to be paid by the losing party." Because Green Depot was not the prevailing party in the unlawful detainer action and 4105 was not the losing party, the court did not err in denying Green Depot's request for an award of attorney fees and costs under the terms of the lease.
¶ 18 An unlawful detainer action is a limited statutory proceeding to resolve the right to possession between the landlord and the tenant. Chapter 59.12 RCW; Munden v. Hazelrigg, 105 Wn.2d 39, 45, 711 P.2d 295 (1985). The primary issue in an unlawful detainer action is the "question of possession and related issues such as restitution of the premises and rent." Munden, 105 Wash.2d at 45, 711 P.2d 295. If, based on the pleadings, "the plaintiff has the right to be restored to possession of the property, the court shall enter an order directing the issuance of a writ of restitution." RCW 59.18.380. But if the answer to the writ presents a genuine issue of material fact pertaining to a legal or equitable defense, the court shall enter an order directing the parties to proceed to trial within 30 days. RCW 59.18.380. And if "the right to possession ceases to be at issue at any time between the commencement of an unlawful detainer action and trial of that action," the unlawful detainer action "may be converted into an ordinary civil suit for damages." Munden, 105 Wash.2d at 45-46, 711 P.2d 295.
¶ 19 4105 filed an unlawful detainer action against Green Depot requesting a writ of restitution and entry of a judgment for past due rent in the amount of $106,194.01, and damages in the amount of "$21,470 triple net per month." 4105 also filed a separate breach of contract action against Green Depot for the past due rent, damages, and an award of attorney fees and costs under the lease.
¶ 20 In response to the unlawful detainer action, Green Depot denied owing past due rent. At the show cause hearing, the court set an expedited trial date for March 26, 2012. Green Depot stipulated that it would vacate the premises by the end of the lease term and in the event it did not, agreed 4105 was entitled to a writ of restitution.
¶ 21 We reject Green Depot's argument that it was the prevailing party in the unlawful detainer action because it successfully defended against issuance of a writ of restitution. By contesting past due rent at the show cause hearing, the court was required to set the case for trial rather than issue an immediate writ of restitution. See RCW 59.12.130. A show cause hearing "is not the final determination of the rights of the parties in an unlawful detainer action." Carlstrom v. Hanline, 98 Wn.App. 780, 788, 990 P.2d 986 (2000).
¶ 22 Because Green Depot vacated the premises at the end of its lease term, the expedited trial date in the unlawful detainer action was stricken and 4105 was entitled to pursue its claim for unpaid rent and damages in the breach of contract action. As the superior court noted in the order denying Green Depot's motion for an award of attorney fees and costs in the unlawful detainer action, the dispute over past due rent and damages as well as the request for an award of attorney fees and costs would be resolved in the pending breach of contract action.
¶ 23 The cases Green Depot relies on to argue it was the prevailing party are distinguishable. In Walji v. Candyco, Inc., 57 Wn.App. 284, 286, 787 P.2d 946 (1990), the landlord filed a lawsuit to enforce a commercial lease. The landlord did not prevail in the mandatory arbitration and requested a trial de novo. At the conclusion of the landlord's case, the trial court granted the motion for a voluntary nonsuit under CR 41(a)(2), and awarded the tenant attorney fees and costs under the terms of the lease. Walji, 57 Wash.App. at 286, 787 P.2d 946. On appeal, we held that when the plaintiff obtains a voluntary nonsuit, the defendant is the prevailing party. Walji, 57 Wash.App. at 288-89, 787 P.2d 946; see also Council House, Inc. v. Hawk, 136 Wn.App. 153, 159-60,
¶ 24 Here, unlike in Walji, Council House, or Hawk, dismissal of the unlawful detainer action did not leave the parties in the position "as if the action had never been brought." Wachovia SBA Lending, Inc. v. Kraft, 165 Wn.2d 481, 492, 200 P.3d 683 (2009). 4105 filed a separate breach of contract action against Green Depot to recover the past due rent and damages that was still pending.
¶ 25 We affirm the order denying Green Depot's motion for attorney fees as the prevailing party in the unlawful detainer action. Under the terms of the lease, upon compliance with RAP 18.1, 4105 is entitled to an award of reasonable attorney fees and costs on appeal.
WE CONCUR: VERELLEN, and LAU, JJ.