It would be great if you could cancel importing a tileset into a tilemap palette, if you try to import a duplicate tileset into palette you get the options to overwrite, reuse, create a new copy or the x in the corner.
I’ll let you judge from the gif below

I believe that one of the three options has overridden the cancel/no behaviour which you get from the X button. We will see how this can be done better!