Display alerts only after each new submit