Fixing popup click - problem with empty href.