fixes showModal() to work with scrolling="no" panels

Hi Ian,

showModal() could show "undefined" instead of content for panels where scrolling was "disabled" (scrolling="no" attribute), if ...childNodes[0] was "undefined".

I'll hope you'll like this patch.

Best regards
dom