By default the close button of the RadWindow is not designed to close the Window when the Escape button is pressed.
All you need to do to enable this functionality is to set the InputBindings of the control for the Escape key, the next code snippet shows the described approach: