dialog changed to dialog fragment