def environment(): dialogs.environment_dialog(gui.editor_window)
def environment(): dialogs.environment_dialog(gui.editor_window, write_env_data)