(d) In an action under this section, no filing fee or other costs are taxable to the person's spouse, the minor child, the person with legal custody, or the nonlegally responsible relative, but after the action has been commenced the court may order that all or part of any fees and costs incurred be paid by either party.