Exit page load if condition fails.