How to prevent a form sending multiple emails when clicking on Back browser button upon submission