if(widgetCount>1) {  gtk_window_set_modal(GTK_WINDOW(widgetStack[widgetCount-1]), 1); }
void gtk_unregister_dialog(GtkWidget *newdialog){	ADM_assert(widgetCount);	ADM_assert(widgetStack[widgetCount-1]==newdialog);	widgetCount--;}