When Ghosts have fulfilled what keeps them on earth, a crossover door or "door to death" immediately appears in their immediate vicinity. They can pass over through that door to the other site.
Matt's door appears after Matt's murderer (Mr Roe) was found and has explained why he had killed Matt. However, Mr Roe suddenly attacks Matt and his friends, so they push him through the door and close it. Matt's door vanishes.