Changed it so unknown events like submits will work.