Reset input field after alert

fix
Merge branch 'master' into gh-pages