Close the actions dropdown once the registration token is reset
As a followup for !72529 (merged), we would like to automatically close the actions dropdown after the registration token has been reset. Since we provide automatic feedback with the toast, we do not need to keep the dropdown open to show the new token has been updated. This is more consistent with how we are closing it automatically after copying the registration token to clipboard.