changing return value for dialog to remove all uncertainty as to user's choice