fix log save to prevent dialog