Here is a bash script to create pop-up window to enter a password:
#!/bin/bash

# Ask for user input for the password
read -sp "Please enter the password: " pass

# Create a temporary file to store the entered password
echo $pass > /tmp/pw.txt

# Mount the encrypted dataset using the password
zfs mount -o keyformat=passphrase -o keylocation=/tmp/pw.txt rpool/encrypted

# Remove the temporary file
rm /tmp/pw.txt
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence