Got modal dialogs working, with blurred backgrounds (on most browsers), and image preview pop-ups are working (with a few visual glitches).