mod_admin: fix .modal positioning, prevent flowing out of the screen. Fixes #863