Fix `submit:prepare` trigger as a result of mouse click

Fixes #31
Merge pull request #33 from josh/submit-prepare

Fix `submit:prepare` trigger as a result of mouse click