Use overridable layouts for modals

With layouts anybody can override the modal layout on components, templates, etc. I have also created separated layouts so people only needs to replace the header, footer, body or iframe code.