sow history dialog, PEP8