fix wrong inheritance of dialog fragments