new file:   demag_dialogs.py => complementary program to demag_gui.py
bug fix in demag_gui.py