fixed detail dialog position issue