A common structure is a sale contingent on finding a suitable replacement property, or a possession date on your sale timed to follow your purchase by a few days, sometimes bridged with short-term financing from your lender to cover the gap.
Your lawyer, closing through Information Services Corporation, needs both files lined up on compatible dates, so ask a candidate agent how they've handled that coordination with a lawyer before, not just how many houses they've sold.
The right agent for this treats the two transactions as one connected plan from the first conversation, not two deals that happen to overlap. Get your hand-reviewed valuation from Joel Dyck.