When the user aborts the password request of a sign/encrypt operation or when they enter a wrong password then they need to start over the whole sign/encrypt operation (i.e. choose the files, select the recipients, etc.). It would be much more convenient if Kleopatra would show the Sign/Encrypt Files dialog as it was before the user clicked Sign/Encrypt so that the user can easily retry the operation.
This is a spin off of T8353: Let pinentry or gnupg handle bad smartcard pins.