1<!-- Simple pop-up dialog box containing a form -->
2<dialog id="favDialog">
3 <form method="dialog">
4 <p><label>Favorite animal:
5 <select>
6 <option></option>
7 <option>Brine shrimp</option>
8 <option>Red panda</option>
9 <option>Spider monkey</option>
10 </select>
11 </label></p>
12 <menu>
13 <button value="cancel">Cancel</button>
14 <button id="confirmBtn" value="default">Confirm</button>
15 </menu>
16 </form>
17</dialog>
18
19<menu>
20 <button id="updateDetails">Update details</button>
21</menu>
22
23<output aria-live="polite"></output>
24