fix the problem that the EditDialog is too small to hold lots of information.