prevent invisible modal from blocking page content