extract RequireLoginDialogFragment into ui.dialog