Sets a dialog to be modal or non-modal.
A modal dialog prevents user interaction with other parts of the application until it is closed.
dlg_modal(handle, is_modal)
Make a dialog modal
dlg_modal("dialog_123", 1);
Make a dialog non-modal
dlg_modal("dialog_123", 0);