- fixed my slightly incorrect EndDialog patch