Reproduction instructions:
- Enable "Persistent Chat" to activate Quicksand.
- Click "Create Subtask" on a task after configuring multiple available subtypes.
- Choose a subtype.
Expected behavior:
- Clicking an option closes the dialog and navigates.
Actual behavior:
- Clicking an option navigates behind the dialog but does not close it.
See downstream: https://phabricator.wikimedia.org/T220897