If the court allows your lawyer to withdraw on July 22, then you will be given 21 days to retain another lawyer and the July 30 date will be stricken and reset. Call a few lawyers and hire one you're comfortable with.
This is not the best forum in which to discuss complex legal issues. What I strongly suggest you do is hire another attorney to represent you. Consult with an attorney in your area. Many attorneys do not charge for initial consultations with prospective clients.
If your attorney allowed to withdraw in July 21, according to Supreme Court Rule 13, you will have at least 21 days in which to retain counsel. Therefore, the hearing on remaining issues will be continued. You need to find an attorney as quickly as possible.
Although AVVO describes this site as providing free legal advice, it is really a simple Q&A forum. The volunteer attorneys provide general answers. No specific legal advice is given here and no attorney-client relationship is established. For precise direction and legal advice, please consult in person with an attorney in your area. Be sure to bring all relevant paperwork with you.