the party prevailing on any motion under this chapter be awarded the reasonable attorney's fees and costs of making or opposing the motion unless the court finds that the other party acted with substantial justification or that other circumstances make the imposition of attorney's fees and costs unjust.
405.39. No order or other action of the court under this chapter shall be appealable. Any party aggrieved by an order made on a motion under this chapter may petition the proper reviewing court to review the order by writ of mandate. The petition for writ of mandate shall be filed and served within 20 days of service of written notice of the order by the court or any party. The court which issued the order may, within the initial 20-day period, extend the initial 20-day period for one additional period not to exceed 10 days. A copy of the petition for writ of mandate shall be delivered to the clerk of the court which issued the order with a request that it be placed in the court file.
Article 4. Withdrawal
405.50. At any time after notice of pendency of an action has been recorded pursuant to this title or other law, the notice may be withdrawn by recording in the office of the recorder in which the notice of pendency was recorded a notice of withdrawal executed by the party who recorded the notice of pendency of action or by the party's successor in interest. The notice of withdrawal shall be acknowledged.
Article 5. Effect of Withdrawal or Expungement of Notice
405.60. Upon the withdrawal of a notice of pendency of action pursuant to Section 405.50 or upon recordation of a certified copy of an order expunging a notice of pendency of action pursuant to this title, neither the notice nor any information derived from it, prior to the recording of a certified copy of the judgment or decree issued in the action, shall constitute actual or constructive notice of any of the matters contained, claimed, alleged, or contended therein, or of any of the matters related to the action, or create a duty of inquiry in any person thereafter dealing with the affected property.
405.61. Upon the withdrawal of a notice of pendency of action pursuant to Section 405.50 or upon recordation of a certified copy of an order expunging a notice of pendency of action pursuant to this title, no person except a nonfictitious party to the action at the time of recording of the notice of withdrawal or order, who thereafter becomes, by conveyance recorded prior to the recording of a certified copy of the judgment or decree issued in the action, a purchaser, transferee, mortgagee, or other encumbrancer for a valuable consideration of any interest in the real property subject to the action, shall be deemed to have actual knowledge of the action or any of the matters contained, claimed, or alleged therein, or of any of the matters related to the action, irrespective of whether that person possessed actual knowledge of the action or matter and irrespective of when or how the knowledge was obtained.
It is the intent of the Legislature that this section shall provide for the absolute and complete free transferability of real property after the expungement or withdrawal of a notice of pendency of action.
CHAPTER 3
EXPUNGEMENT AND OTHER RELIEF
TITLE 5
JURISDICTION AND SERVICE OF PROCESS
CHAPTER 1
JURISDICTION AND FORUM
Article 1. Jurisdiction
410.10. A court of this state may exercise jurisdiction on any basis not inconsistent with the Constitution of this state or of the United States.
Article 2. Forum
410.30. (a) When a court upon motion of a party or its own motion finds that in the interest of substantial justice an action should be heard in a forum outside this state, the court shall stay or dismiss the action in whole or in part on any conditions that may be just.
(b) The provisions of Section 418.10 do not apply to a motion to stay or dismiss the action by a defendant who has made a general appearance.
410.40. Any person may maintain an action or proceeding in a court of this state against a foreign corporation or nonresident person where the action or proceeding arises out of or relates to any contract, agreement, or undertaking for which a choice of California law has been made in whole or in part by the parties thereto and which (a) is a contract, agreement, or undertaking, contingent or otherwise, relating to a transaction involving in the aggregate not less than one million dollars ($1,000,000), and (b) contains a provision or provisions under which the foreign corporation or nonresident agrees to submit to the jurisdiction of the courts of this state.
This section applies to contracts, agreements, and undertakings entered into before, on, or after its effective date; it shall be fully retroactive. Contracts, agreements, and undertakings selecting California law entered into before the effective date of this section shall be valid, enforceable, and effective as if this section had been in effect on the date they were entered into; and actions and proceedings commencing in a court of this state before the effective date of this section may be maintained as if this section were in effect on the date they were commenced.
410.42. (a) The following provisions of a contract between the contractor and a subcontractor with principal offices in this state, for the construction of a public or private work of improvement in this state, shall be void and unenforceable:
(1) A provision which purports to require any dispute between the parties to be litigated, arbitrated, or otherwise determined outside this state.
(2) A provision which purports to preclude a party from commencing such a proceeding or obtaining a judgment or other resolution in this state or the courts of this state.
(b) For purposes of this section, "construction" means any work or services performed on, or materials provided for, a work of improvement, as defined in Section 8050 of the Civil Code, and for which a lien may be claimed pursuant to Section 8400 of the Civil Code (whether or not a lien is in fact claimed) or for which such a lien could be claimed but for Section 8160 of the Civil Code.
Article 3. Jurisdiction in Action
410.50. (a) Except as otherwise provided by statute, the court in which an action is pending has jurisdiction over a party from the time summons is served on him as provided by Chapter 4 (commencing with Section 413.10). A general appearance by a party is equivalent to personal service of summons on such party.
(b) Jurisdiction of the court over the parties and the subject matter of an action continues throughout subsequent proceedings in the action.
410.60. In an action against a corporation which has forfeited its charter or right to do business, or has dissolved, the court in which the action is pending has jurisdiction over all the trustees of such corporation and of its stockholders or members from the time summons is served on one of the trustees as provided by Chapter 4 (commencing with Section 413.10).
410.70. In an action against two or more persons who are jointly, jointly and severally, or severally liable on a contract, the court in which the action is pending has jurisdiction to proceed against such of the defendants as are served as if they were the only defendants.
CHAPTER 2
COMMENCING CIVIL ACTIONS
411.10. A civil action is commenced by filing a complaint with the court.
411.20. (a) If the clerk accepts for filing a complaint or other first paper, or any subsequent filing, and payment is made by check which is later returned without payment, the clerk shall, by mail, notify the party who tendered the check that (1) the check has been returned without payment, (2) the administrative charge specified in subdivision (g) has been imposed to reimburse the court for the costs of processing the returned check and providing the notice specified in this subdivision, and (3) the party has 20 days from the date of mailing of the notice within which to pay the filing fee and the administrative charge, except as provided in subdivision (e). The notice also shall