override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
// Get the variables from the bundle.
val primaryErrorInt = requireArguments().getInt(PRIMARY_ERROR_INT)
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
// Get the variables from the bundle.
val primaryErrorInt = requireArguments().getInt(PRIMARY_ERROR_INT)