add popup messages + reset form after submission