fixed：#2
add：error/lock dialog