Disable closing on loader and image click