flagrate.Grid#element: add document
flagrate.Modal: fixed style for full sizing