A lightweight JavaScript component that automatically makes a component dismissible for easy user interaction.