This task is about showing people a warning dialog before closing/discarding the Topic they've drafted.
- Visit: https://patchdemo.wmflabs.org/wikis/f6c284e009aa861712491b41d84fe464/w/index.php/Talk:Main_Page
- Open the New Discussion Tool by clicking the Add topic button
- Enter some text into the Topic field; do NOT enter any text into the Description field
- Press ⎋ or click the red Cancel button/link within the tool
- ❗️Notice the New Discussion Tool closes, and the topic you started drafted in "Step 3." is lost, without warning
- ✅Notice the following warning appears: Are you sure? Are you sure you want to discard the topic you are writing?
- "Expected" behavior is implemented