https://pslab.io/blog/making-custom-dialog-boxes-in-pslab-app/
Making custom dialog boxes in PSLab app