fixed #1
add alert dialog