Fixed Issue #648,overwrite query should disappear

overwrite div is removed after user clicks on the overwrite button