added esc key option to hide overlay