Fix modal close area hit detection

Currently "short" modals (i.e. those which don't force the window to scroll) do not close correctly when you click the area below them. This MR fixes their hit detection area to make use of the background fade for that purpose.