1 Test that multiple dialogs are centered properly. You should see four boxes: one on the top row, two on the middle, and one on the bottom.
3 PASS dialog.offsetTop is expectedTop(dialog)
4 showing first-middle-dialog
5 PASS dialog.offsetTop is expectedTop(dialog)
6 showing second-middle-dialog
7 PASS dialog.offsetTop is expectedTop(dialog)
9 PASS dialog.offsetTop is expectedTop(dialog)
10 PASS successfullyParsed is true