Action signal fired when the prompt is to be closed.
After the default handler has run, the prompt is closed. The various prompting methods will return results as if the user dismissed the prompt.
You can use the [[email protected]] method to emit this signal.