Fixing the bug of the addDialogFragment.