It looks like the button needs to be a bit bigger in the canvas in order to display its text. It can help to fit the module's container to the button.
Even if the modal extends outside of the module container it should still display in the parent app, but that can make resizing the module significantly easier.