Programmatically dismiss the current error dialog, if any.
Mirrors the click/Escape teardown path: cancels the pending auto-dismiss timer, releases the focus trap, and removes the dialog element. A no-op when no error is shown.
Programmatically dismiss the current error dialog, if any.
Mirrors the click/Escape teardown path: cancels the pending auto-dismiss timer, releases the focus trap, and removes the dialog element. A no-op when no error is shown.