Fixed Issue #648,overwrite query should disappear

overwrite div is removed after user clicks on the overwrite button.
i think code like this will be fairly difficult to maintain.  isn't there some way to get the correct element with out doing a triple-parent?