Use this guidance to choose the correct way for users to close, hide or dismiss interactive elements. The control you use should reflect whether the element can be reopened, whether closing is reversible, and the effect on the user’s task.
Do not use any closing or dismissing control for elements that do not hide content or change state.