You need to search inside the View that you are inflating for your Warning dialog box, for example, that the bloated view looks like this:
View view = inflater.inflate(R.layout.dialog_add_player, container);
then you will need to do
EditText editFirstName = (EditText) view.findViewById(R.id.editFirstName);
EditText editLastName = (EditText) view.findViewById(R.id.editLastName);
, -, , , EditText, , EditText.