stacking blocks in dialogs