A simple google doc add-on allows you to add a gray box with or without selected text.
Note: if you want to start without a text box, you can add it anywhere you want by simply click on the same "Add Box" button