Moved the location of close edit.