Dialog type changed to DialogFragment