autocomplete and prevent from closing login modal