Update best_in_place.js

adding confirmation box on input type