Creates an input Dialog with controlled/uncontrolled value and visibility.
Tab is trapped across input, submit, and cancel; Enter submits from the input; Escape cancels only the topmost PromptDialog; closing restores the previously focused element.
Creates an input Dialog with controlled/uncontrolled value and visibility.
Tab is trapped across input, submit, and cancel; Enter submits from the input; Escape cancels only the topmost PromptDialog; closing restores the previously focused element.