fix modal dismiss on page click,  darken more