Panel-modal and FloatPanel in Google Colab

I am planning to use panel-modal and/or FloatPanel in an application which will be deployed in Google Colab. Both panel-modal and FloatPanel work as expected when executed from my local Jupyter environment, i.e. appears on top of other page content, FloatPanel floats over entire notebook, etc. However, when executing in Colab, the modal and FloatPanel do not render outside of the cell.

(The sample code that I am using can be found in the FloatPanel and panel-modal docs)

Is there a way to get the proper behavior in Colab?

image