update AlertDialog to have default value