make contact formular alerts work properly