Removing some (hopefully) unneeded overflow:hidden which made problems with modals.
Also changed component.php to use #maincontent instead of #wrapper