Use the --question option to create a question dialog.
The following example script shows how to create a question dialog:
#!/bin/bash zenity --question \ --text="Are you sure you wish to proceed?"