More update to alert dialog code