Submit form - fixing issue with multiple submissions