I’ll repeat myself: To close the dialog you need to execute DialogService.Close() method and you can provide whatever argument. This argument can be received in Close event handler (used usually with Open() method) or as a result of OpenAsync() method. Closing the dialog with top right close button will return null. You can hide this button if you set ShowClose to false to DialogOptions.