Fix js leave confirmation on Quick contact search