Open a code prompt in a dialog.
Create and show a dialog to prompt user for code.
The dialog setup options.
A promise that resolves with whether the dialog was accepted
Open a code prompt in a dialog.