Fix preview button click for #510

Attempting to add fix by forcing click on the form's "Preview"
Merge pull request #1204 from imthinhvu/patch-2

Fix preview button click for #510