I was thinking that almost any code using `ContinueWith` can be refactored with `async/await`, but this one is a bit tough. A sketch of what I want to convert:

```
// UI unit testing: close the message box in 1s

Task.Delay(1000).ContinueWith((t) => 
    {
        SendKeys.Send("{ENTER}"); 
    }, TaskScheduler.FromCurrentSynchronizationContext());

MessageBox.Show("Hello!");

Debug.Print("continue after a message box");

```

How can it be done with `async/await`?