Fix bug in Grid EditWindow when editing phantom record

The phantom record was deleted on cancel (although it was saved previously)