#255 Prevent javascript validation from being triggered on form cancel