adds exit button for overlay