How to show popup in client script

How to show popup in client script

Hello.

Does anyone know how to make the popup appear in client script?

For example, I want to display a popup and let me enter any words when the stage of the Deal is changed .

I was going to use 'prompt', but it doesn't work well in client scripts.