Made add block type dialog appear appropriately