Make `BaseDialogComponent` standalone and remove unused account deletion in `HeaderComponent`
Since account deletion has been moved to account page, the functions are unused.
Depends on !1848 (merged)
Since account deletion has been moved to account page, the functions are unused.
Depends on !1848 (merged)