CancelAction now closes the Edit-window