AlertDialog behaviour now OK