The close button on the GUI on the flags, its really close to overlapping with the hostile icon in-game. It is still closeable though.