fixed the issue when open the dialog