fix log dialog UI