added confirmation
Merge pull request #397 from ar4s/144-warning-before-leave-form

Added confirm