Try to get the dialogService to intercept legacy modals

replace modals with dialogservice