#!/bin/sh
# \
	exec itkwish -f "$0" ${1+"$@"}

wm withdraw .

messagedialog .md -title "Message Dialog" -text "Are you sure ?" \
	-bitmap questhead -modality application

.md hide Help
.md buttonconfigure OK -text Yes
.md buttonconfigure Cancel -text No

if {[.md activate]} {
    .md configure -text "Are you really sure ?"
    if {[.md activate]} {
	puts stdout "Yes"
    } else {
	puts stdout "No"
    }
} else {
    puts stdout "No"
}

destroy .md



