While this can be done with Javascript and hiding and unhiding a layer. Read here - [Tutorial] How to create a modal/pop-up in Webflow
Also - you can use an external solution like Hellobar - This is what I use in my projects - Also gives analytics about the form. https://www.hellobar.com/