(a) If an answer is not filed, all averments of fact in the petition may be deemed admitted for the purposes of this subdivision and the court shall enter an appropriate order.(b) If an answer is filed raising no disputed issues of material fact, the court on request of the petitioner shall decide the petition on the petition and answer.(c) If an answer is filed raising disputed issues of material fact, the petitioner may take depositions on those issues, or such other discovery as the court allows, within the time set forth in the order of the court. If the petitioner does not do so, the petition shall be decided on petition and answer and all averments of fact responsive to the petition and properly pleaded in the answer shall be deemed admitted for the purpose of this subdivision.(d) The respondent may take depositions, or such other discovery as the court allows.