modal blocks if not allowed camera