messy but redrawing on escape
no need for close button anymore