Should now center dialog properly.