trying to make a new dialog for log