Escape closes overlay

Only the last two commits are this PR. The rest is already covered by https://github.com/montagejs/montage/pull/1299