In any proceedings under this Act a court may make any order with the consent of all the parties to such proceedings.