- update opacity so close on click of overlay works