Modal content is being captured fix