修复禁止监视器弹窗
fix a bug about modal