swaps out close icon