cancel: function ( e ) {
            if ( e && ( this.$template.is( e.target ) ||
                    $.contains( this.$template[ 0 ], e.target ) ) ) {
                return;
            }