proper modal boxes are implemented

No thanks to modalbox.js.