make messagebox's width css(100%) cover paddings and borders too

or the box will overflow a bit because of extra padding and border widths
Merge branch '4.0/messagebox-sizing' into 4.0-trunk