abstracted activity for dialog fragments