Only show Dismiss-fragment dialog when the user actually have put some values in any of the fields.
Use TextUtils.isEmpty instead of string.equals("")