changed the resize of dialog on the edit page