fixed up dialogfragment, made it work with various dialogs