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