KDE and newly started program windows z order

Hi!
Question:
Is it possible to configure KDE so now windows cannot take focus from active window, except for modal popups from some program?
I find it inconvenient, that some slowly loading program might suddenly pop up and and take focus and steal some keyboard input from current program. Especially when current program is kde wallet's password dialog.
Question:
Is it possible to configure KDE so now windows cannot take focus from active window, except for modal popups from some program?
I find it inconvenient, that some slowly loading program might suddenly pop up and and take focus and steal some keyboard input from current program. Especially when current program is kde wallet's password dialog.