[#1154] Prevent duplicate contact form submissions

Fixes #1154