Bug 88: utils part-2 DialogUtils

I had filed the bug 93, http://vosie.org/mantis/view.php?id=93, for this issue.