Issue #307 When click on a cancel button, the form was submit twice