When you extend your ED visa, you sign a paper that will update immigration about your situation change - that means you should cancel your ED visa. There is a chance that you manage to get and use a new DTV visa without doing it, but I wouldn't personally risk it.
You still need to leave Thailand when your extension stays, so maybe you can just buy a ticket. But if you really don't want you can get an onward ticket, ex: