close icon on 2nd click