fix modal click outside problem