How to create a custom dialogue box for the editor?

Basically, I’m developping a plugin and I need a way for the user access its functionalities.

I want to have a dialogue box open, that has a text input for a file path, and a button to confirm and start.

How do I make such a popup for the editor?

Thanks in advance

Look into editor tools. Something like this: