add mixing for modality behaviour. restoring focus is broken, but probably an emberui issue