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.