add: library DialogFragment, Arrays.indexOf