修正dialog和slider