enter key starts refreshing in extension popup