add pull to refresh & custom dialog