Add loading when doing page search, handle blank search