Undo commit fd2ee4b, fix modal margins on mobile, fix invalid html