Delete current page if statement