Set result for whiptail/dialog