Panel: Resize modal overlay to stretch to the height of the document.

Fixes #6466 - Panel: Panel doesn't close by clicking outside if the page is scrolled down.

Basically, assign a height to the panel whenever you open it.