Create commonDlgs.py

Used to simplify the creation and handling of dialog windows within each panel and the main gui file.