remove Home page xpath, and homepage dialog