Added live preview functionality to insert table button modal