How to close parent window from user control in WPF?

This is a WPF application:

I have to implement a user control, in which there are two buttons, "Add" and "Cancel".
The Add button has to open a new window, and load another user control to that window.
The Cancel button has to close this window.
The current window only load this single user control .