I don't know about a refund, but you should discuss with your lawyer. Importantly, however, we are all required to enter into written retainer agreements prior to undertaking family part work. Required content is set forth in the Rules of Court.
This answer is provided for educational purposes only. By using or participating in this site, you agree and understand that there is no attorney-client privilege between you and the attorney responding. This site cannot be used as a substitute for competent legal advice from a licensed attorney that practices law in the State having jurisdiction over your matter, and who has experience in the area of law you are asking questions about, and with whom you would have an attorney-client relationship. The law changes frequently and varies from jurisdiction to jurisdiction. The information and materials provided are general in nature, and may not apply to a specific factual or legal circumstance described in the question, or in the State having jurisdiction over your matter.
You should discuss this issue with your attorney. You don't state any reason as to why the the motion would be dismissed. Perhaps your attorney can file an amended motion.
This answer does not constitute the establishment of an attorney/client relationship nor is there any guarantee that this advice will be completely effective in a court of law. A consultation, including review of court orders and other documents is necessary in order for me to give you proper advice and guidance.