added alert to capture photo