Dialogs

Updated to python 3, sub-windows now dialogs