change highlight component to accept either a string or an object as a parameter and adding feature to prevent people from closing highlight by pressing escape key