Updated sortdiaglog frame

Updated the dialog frame to use dynamic height.