adding close button and linting