coded modal window and overlay (js + html)