unified modalContainerSwitch
fixed test issue
v0.0.14