{% comment %} A drawer for the core modals, at either level (modal.html, modal_level_1.html: blank canvases, each showing whatever its content view returns). A view that wants one extends this and fills its blocks: the header (block header: the title, block title, with the close button beside it), the body (block body), which scrolls, and the footer: Close, then the drawer's own actions (block actions), or a footer of its own (block footer). It stands on the ground, so what sits in it rises, 480px wide (block width). Where it sits (block side): right (the default) or left, sliding in from that edge, or center, fading in; core decides the motion from the side (modal.js), never the caller. How it closes (block dismiss): by a click outside it, Escape, its close button and Close; "button" leaves only its own buttons, for what must not be lost to a stray click (a secret shown once). The modal around it is the dialog, named by the drawer's title (modal.js). Closing it closes that modal, whichever level it is on. {% endcomment %} {% load i18n phoxtail_design_tags %}